#display #macro #flushing #err-display

display_macro

Like print! macro but always flushing

1 unstable release

0.1.1 Jan 25, 2022
0.1.0 Jan 25, 2022

#367 in #display

MIT license

2KB

display_macro crates.io badge

use display_macro::{display, err_display};

fn main() {
	// print to stdout, always flushing
	display!("hello you");

	// print to stderr, always flushing
	err_display!("oh no, something happened!");
}

No runtime deps