mirror of
https://github.com/sharkdp/bat
synced 2026-08-06 19:21:43 +00:00
Inline format! args wherever possible
This commit is contained in:
+1
-1
@@ -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()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user