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

Prints to the standard output of the host, with a newline.

Use the format! syntax to write data to the standard output. See core::fmt for more information.

Use println! only for the primary output of your program. Use eprintln! instead to print error and progress messages.

Panics

Panics if writing to the host fails.