mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-22 15:21:04 +00:00
15 lines
249 B
Rust
15 lines
249 B
Rust
#[macro_export]
|
|
macro_rules! outln {
|
|
($($tt:tt)*) => {{
|
|
use std::io::Write;
|
|
writeln!(std::io::stdout(), $($tt)*)
|
|
}}
|
|
}
|
|
|
|
#[macro_export]
|
|
macro_rules! errln {
|
|
($($tt:tt)*) => {{
|
|
use std::io::Write;
|
|
writeln!(std::io::stderr(), $($tt)*)
|
|
}}
|
|
}
|