Merge pull request #906 from matthiasbeyer/libimaginteraction/unpub-fn

This function does not need to be public
This commit is contained in:
Matthias Beyer 2017-02-23 13:13:14 +01:00 committed by GitHub
commit 54655b9bce

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![];