Function std::io::println

pub fn println(s: &str)

Prints a string to standard output, followed by a newline.

If you do not want an implicit newline, please see print.

Example

// println is imported into the prelude, and so is always available.
println("hello");