Skip to content
volt
GitHub

std::io

Println/print (stdout) and eprintln/eprint (stderr); format strings are checked at compile time.

Source: std/io.volt

Functions

std::io::println

fn println() -> void

println("a {} b {}", x, y) / println(value) / println()

std::io::print

fn print() -> void

print("a {} b {}", x, y) / print(value): like println, without the newline

std::io::eprintln

fn eprintln() -> void

the same, to stderr (unbuffered)

std::io::eprint

fn eprint() -> void

like print, to stderr