summaryrefslogtreecommitdiffstats
path: root/src/style.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/style.rs')
-rw-r--r--src/style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/style.rs b/src/style.rs
index 0f83d1bc..652b3743 100644
--- a/src/style.rs
+++ b/src/style.rs
@@ -80,7 +80,7 @@ impl FromStr for StyleComponent {
"full" => Ok(StyleComponent::Full),
"default" => Ok(StyleComponent::Default),
"plain" => Ok(StyleComponent::Plain),
- _ => Err(format!("Unknown style '{}'", s).into()),
+ _ => Err(format!("Unknown style '{s}'").into()),
}
}
}