mirror of
https://github.com/gitui-org/gitui.git
synced 2026-10-12 02:14:16 +00:00
fix rust clippy
This commit is contained in:
@@ -3,6 +3,6 @@ pub fn invalid_utf8(prefix: &str) -> String {
|
||||
let bytes = b"\xc3\x73";
|
||||
|
||||
unsafe {
|
||||
format!("{}{}", prefix, std::str::from_utf8_unchecked(bytes))
|
||||
format!("{prefix}{}", std::str::from_utf8_unchecked(bytes))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user