2 个版本
| 0.1.1 | 2021年3月23日 |
|---|---|
| 0.1.0 | 2021年3月23日 |
#2289 in 开发工具
3KB
此软件包引入了 fprint! 宏,它提供了清除打印功能
[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);
}
lib.rs:
此软件包引入了 fprint! 宏,它提供了清除打印功能