We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_line
Stdin::read_line()
1 parent 2b4f6ec commit 254af0bCopy full SHA for 254af0b
std/src/io/stdio.rs
@@ -394,6 +394,7 @@ impl Stdin {
394
/// in which case it will wait for the Enter key to be pressed before
395
/// continuing
396
#[stable(feature = "rust1", since = "1.0.0")]
397
+ #[rustc_confusables("get_line")]
398
pub fn read_line(&self, buf: &mut String) -> io::Result<usize> {
399
self.lock().read_line(buf)
400
}
0 commit comments