fmt: applied formatting

This commit is contained in:
2026-06-18 11:29:03 -06:00
parent 530000bc2f
commit 4a01e9a66c
2 changed files with 10 additions and 14 deletions
+1 -5
View File
@@ -79,11 +79,7 @@ fn translate_unix_home_style(s: &str, prefix: &str) -> Option<PathBuf> {
fn translate_windows_users_path(s: &str) -> Option<PathBuf> {
let bytes = s.as_bytes();
if bytes.len() < 4
|| !bytes[0].is_ascii_alphabetic()
|| bytes[1] != b':'
|| bytes[2] != b'\\'
{
if bytes.len() < 4 || !bytes[0].is_ascii_alphabetic() || bytes[1] != b':' || bytes[2] != b'\\' {
return None;
}