rokdocs
v0.1

rok::core::print

rok::core::print - print / println / eprint / eprintln (stdlib 3.5.2: they live in core so the implicit use rok::core::** exposes them). Use an f-string for anything that is not a str: println(f"total = {total}").

They share the runtime's stream writers with io::stdout() / io::stderr(); one call writes its line whole, so lines from different threads never interleave. Write errors are dropped.

Functions

print

pub fn print(s: str)

println

pub fn println(s: str)

eprint

pub fn eprint(s: str)

eprintln

pub fn eprintln(s: str)