Rust: fix output format