display_macro

Crates.iodisplay_macro
lib.rsdisplay_macro
version0.1.1
sourcesrc
created_at2022-01-25 12:48:12.789093
updated_at2022-01-25 13:29:50.487752
descriptionLike print! macro but always flushing
homepagehttps://github.com/dgellow/display-macro-rs
repository
max_upload_size
id520746
size1,862
Samuel El-Borai (dgellow)

documentation

README

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!");
}
Commit count: 0

cargo fmt