Output a single line for easy copy-n-paste
All the diceware programs I looked at (sample_size = 1
) output their results on a single line. The example output on the Diceware web page is also on a single line. So, my suggestion is to follow the herd.
As non-user of Rust, my hack is surely not the Right Way to do this.
diff main.rs.\~1\~ main.rs
10c10
< println!("{}", word);
---
> print!("{}", word); print!(" ");
but it WFM.