mirror of
https://github.com/nushell/nushell.git
synced 2025-04-08 11:58:32 +02:00
18 lines
480 B
Rust
18 lines
480 B
Rust
/// Outputs to standard out
|
|
///
|
|
/// Note: this exists to differentiate between intentional writing to stdout
|
|
/// and stray printlns left by accident
|
|
#[macro_export]
|
|
macro_rules! outln {
|
|
($($tokens:tt)*) => { println!($($tokens)*) }
|
|
}
|
|
|
|
/// Outputs to standard error
|
|
///
|
|
/// Note: this exists to differentiate between intentional writing to stdout
|
|
/// and stray printlns left by accident
|
|
#[macro_export]
|
|
macro_rules! errln {
|
|
($($tokens:tt)*) => { eprintln!($($tokens)*) }
|
|
}
|