mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
fix rust clippy
This commit is contained in:
parent
e5acee1a0c
commit
c705712a05
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue