mirror of
https://github.com/gitui-org/gitui.git
synced 2026-10-12 02:14:16 +00:00
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:
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user