1 2 3 4 5 6 7
use std::io::Write; /// Standard shell `echo` #[inline] pub fn echo<W: Write>(str: &str, out: &mut W) { let _ = write!(out, "{str}\n"); }