forked from extern/nushell
e2e9abab0a
* Add some more docs * More docs * More docs * Add more docs
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)*) }
|
|
}
|