std::fmt
std::fmt defines the formatting model used by std::io::print/println
by string-building helpers. It follows a Zig-std.fmt-style format-string
syntax.
Full reference: fmt.
Notes#
Examples#
Example: println formatting#
import std::io;
fn main () -> int {
std::io::println("name={s} ok={}", "silk", true);
return 0;
}
See also#
Source repository · Edit this page · View Markdown