cargo fmt: use hardtabs

since it does not support hard-whitespaces its the only way to make whitespaces consisitent and checked
This commit is contained in:
Stephan Dilly
2021-08-17 14:24:25 +02:00
parent 25a49e22f2
commit dad8e8d43d
121 changed files with 23091 additions and 23094 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
/// uses unsafe to postfix the string with invalid utf8 data
pub fn invalid_utf8(prefix: &str) -> String {
let bytes = b"\xc3\x73";
let bytes = b"\xc3\x73";
unsafe {
format!("{}{}", prefix, std::str::from_utf8_unchecked(bytes))
}
unsafe {
format!("{}{}", prefix, std::str::from_utf8_unchecked(bytes))
}
}