Crates.io | display_macro |
lib.rs | display_macro |
version | 0.1.1 |
source | src |
created_at | 2022-01-25 12:48:12.789093 |
updated_at | 2022-01-25 13:29:50.487752 |
description | Like print! macro but always flushing |
homepage | https://github.com/dgellow/display-macro-rs |
repository | |
max_upload_size | |
id | 520746 |
size | 1,862 |
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!");
}