std::println!
[-] [+]
[src]
macro_rules! println { ($($arg:tt)*) => ($crate::old_io::stdio::println_args(format_args!($($arg)*))) }
Macro for printing to a task's stdout handle.
Each task can override its stdout handle via std::old_io::stdio::set_stdout
.
The syntax of this macro is the same as that used for format!
. For more
information, see std::fmt
and std::old_io::stdio
.
Example
fn main() { println!("hello there!"); println!("format {} arguments", "some"); }println!("hello there!"); println!("format {} arguments", "some");