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
1 changed files with 7 additions and 7 deletions

View File

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