9f83661374
Enable as many lints as I can stand. I'll definitely add more exceptions as `clippy::pedantic` and `clippy::restriction` wear me down. type: testing
9 lines
232 B
Rust
9 lines
232 B
Rust
macro_rules! err {
|
|
($env:expr, $fmt:expr) => {
|
|
write!($env.err, $fmt).context(crate::error::Stderr)?;
|
|
};
|
|
($env:expr, $fmt:expr, $($arg:tt)*) => {
|
|
write!($env.err, $fmt, $($arg)*).context(crate::error::Stderr)?;
|
|
};
|
|
}
|