This function does not need to be public

This commit is contained in:
Matthias Beyer 2017-02-23 12:38:40 +01:00
parent b50334c10f
commit 638e48197b

View file

@ -121,13 +121,13 @@ pub fn ask_string(s: &str,
&mut BufReader::new(stdin())) &mut BufReader::new(stdin()))
} }
pub fn ask_string_<R: BufRead>(s: &str, fn ask_string_<R: BufRead>(s: &str,
default: Option<String>, default: Option<String>,
permit_empty: bool, permit_empty: bool,
permit_multiline: bool, permit_multiline: bool,
eof: Option<&str>, eof: Option<&str>,
prompt: &str, prompt: &str,
input: &mut R) input: &mut R)
-> String -> String
{ {
let mut v = vec![]; let mut v = vec![];