Crates.io | fprint |
lib.rs | fprint |
version | 0.1.1 |
source | src |
created_at | 2021-03-23 14:59:29.599224 |
updated_at | 2021-03-23 15:07:06.439413 |
description | Flushed print |
homepage | |
repository | https://github.com/PatriotRossii/fprint/ |
max_upload_size | |
id | 372602 |
size | 3,260 |
This crate entroduces fprint!
macro which provides flushed print
[dependencies]
fprint = "0.1"
use std::io::Read;
fn main()
let mut buffer = String::new();
fprint!("Enter your number: ");
io::stdin().read_line(&mut buffer);
}