This function does not need to be public
This commit is contained in:
parent
b50334c10f
commit
638e48197b
1 changed files with 7 additions and 7 deletions
|
@ -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![];
|
||||||
|
|
Loading…
Reference in a new issue