* Add some more docs

* More docs

* More docs

* Add more docs
This commit is contained in:
Jonathan Turner
2020-01-16 07:32:46 +13:00
committed by GitHub
parent 2956b0b087
commit e2e9abab0a
5 changed files with 70 additions and 13 deletions

View File

@ -1,11 +1,16 @@
// These macros exist to differentiate between intentional writing to stdout
// and stray printlns left by accident
/// 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)*) }