Skip to main content

println

Macro println 

Source
macro_rules! println {
    () => { ... };
    ($($arg:tt)*) => { ... };
}
Expand description

打印宏(换行)

§用法

println!();                   // 仅换行
println!("Hello, RISC-V!");   // 打印并换行
println!("x = {}", x);        // 格式化打印