]> git.lizzy.rs Git - rust.git/commitdiff
doc: make line visible
authorTshepang Lekhonkhobe <tshepang@gmail.com>
Wed, 23 Dec 2015 15:46:59 +0000 (17:46 +0200)
committerTshepang Lekhonkhobe <tshepang@gmail.com>
Wed, 23 Dec 2015 15:47:12 +0000 (17:47 +0200)
src/libstd/io/stdio.rs

index 985dbdd895f847b1da6d464534fa82f47af0bd1c..120e56d8079a74223f9f5f1037da6fa63059e589 100644 (file)
@@ -252,7 +252,7 @@ pub fn lock(&self) -> StdinLock {
     ///
     /// - Pipe some text to it, e.g. `printf foo | path/to/executable`
     /// - Give it text interactively by running the executable directly,
-    //    in which case it will wait for the Enter key to be pressed before
+    ///   in which case it will wait for the Enter key to be pressed before
     ///   continuing
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn read_line(&self, buf: &mut String) -> io::Result<usize> {