/rust-basic-io

Learn the basics of IO in Rust

Primary LanguageRustMIT LicenseMIT

Basic IO in Rust

Exercise from the Chapter 3 of the book Hands on Rust.

cargo run
# type either of these names to see custom greetings and messages:
#
# bert
# steve
# fred
#
# enter any other name to add it to the list
# press the `Enter` key to exit