Function std::io::print

pub fn print(s: &str)

Prints a string to standard output.

This string will not have an implicit newline at the end. If you want an implicit newline, please see println.

Example

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