fix rust clippy

This commit is contained in:
extrawurst 2022-10-26 14:34:33 +02:00
parent e5acee1a0c
commit c705712a05

View file

@ -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))
}
}