mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-02 10:02:28 +01:00
Inline format!
args wherever possible
This commit is contained in:
@@ -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