RUSTPRINT

Type to search the reference.

RUST OUTPUT, MAPPED

Print. Format. Inspect.

A fast, visual reference for how Rust turns values into output. Built between std::fmt and the editor tab you are working in.

SOURCE-BACKED CI-CHECKED
STD::FMT
FORMAT_SPEC
PARSED
LEFT → RIGHT
{:>10.2}
separatoralignwidthprecision
VALUE → FORMATTER → OUTPUTRUSTPRINT
QUICK REFERENCE

EVIDENCE, NOT A HALO

Each claim says what supports it.

SOURCE-BACKED means the page cites and is grounded in official Rust documentation. CI-CHECKED means the exact repository example passes Rust CI.

format_output.rs
1 let value = 42;
2 let output = format!("{value:#06x}");
3 assert_eq!(output, "0x002a");