[src]

std::macros::println

macro_rules! println(
    ($($arg:tt)*) => (format_args!(::std::io::stdio::println_args, $($arg)*))
)

Macro for printing to a task's stdout handle.

Each task can override its stdout handle via std::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::io::stdio.

Example

println!("hello there!");
println!("format {} arguments", "some");