no-mistakes(lint): fix(lint): rustfmt formatting in mods.rs

This commit is contained in:
objz committed 2026-04-25 14:25:04 +02:00
1 parent 9f463c80bc
commit 5dbb2be873
50 files changed
+624 -351

No files matched your search

+1 -3
View File
@@ -56,9 +56,7 @@ pub fn normalize_memory_value(raw: &str) -> Option<String> {
}
let (digits, suffix) = match trimmed.chars().last() {
Some(c) if c.is_ascii_alphabetic() => {
(&trimmed[..trimmed.len() - c.len_utf8()], Some(c))
}
Some(c) if c.is_ascii_alphabetic() => (&trimmed[..trimmed.len() - c.len_utf8()], Some(c)),
Some(_) => (trimmed, None),
None => return None,
};