chore(fmt): add legacy stubs and strip trailing whitespace to unblock cargo fmt

This commit is contained in:
Selfhosting Dev
2025-09-17 07:43:07 +09:00
parent fcf8ce1f3c
commit adbb0201a9
385 changed files with 35622 additions and 15004 deletions

View File

@ -7,7 +7,9 @@ pub fn on(var: &str) -> bool {
/// Log a message to stderr if the env var is enabled.
pub fn log(var: &str, msg: &str) {
if on(var) { eprintln!("{}", msg); }
if on(var) {
eprintln!("{}", msg);
}
}
/// Log with formatting if the env var is enabled.
@ -19,4 +21,3 @@ macro_rules! debug_logf {
}
}};
}

View File

@ -1,2 +1 @@
pub mod log;