mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-30 10:06:12 +00:00
Inline format! args wherever possible
This commit is contained in:
1 parent
487bed2d95
commit
4c85483486
17 files changed
+35
-40
No files matched your search
+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