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
.
// println is imported into the prelude, and so is always available.
println("hello");
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).