diff options
| author | Nick Sweeting <git@nicksweeting.com> | 2017-03-23 13:43:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-23 13:43:09 -0400 |
| commit | 04fbec1a0cb7467834bd264b80350b1cade8b4ca (patch) | |
| tree | 3922d97eb240985d922171f7b12933fd23ec9278 /src/libstd/io | |
| parent | 53d5082a2d08060ebca869cb8ee97c3ed3cf4ce9 (diff) | |
| download | rust-04fbec1a0cb7467834bd264b80350b1cade8b4ca.tar.gz rust-04fbec1a0cb7467834bd264b80350b1cade8b4ca.zip | |
newline for breathing room
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 60b211a746f..773b0964b42 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -150,6 +150,7 @@ //! //! ``` //! let mut input = String::new(); +//! //! match io::stdin().read_line(&mut input) { //! Err(why) => panic!("Failed to read input: {}", why.description()), //! Ok(_) => println!("You typed: {}", input.trim()), |
