mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-12 01:21:02 +00:00
new clippies (#352)
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
@@ -167,7 +167,7 @@ impl Literal {
|
||||
unicode_char.encode_utf8(&mut unicode_bytes);
|
||||
|
||||
for byte in unicode_bytes.into_iter() {
|
||||
hex_string.push_str(format!("{:02x}", byte).as_str());
|
||||
hex_string.push_str(format!("{byte:02x}").as_str());
|
||||
}
|
||||
index += 5;
|
||||
} else if string[index..].starts_with('t') {
|
||||
|
||||
Reference in New Issue
Block a user