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()))
|
||||
}
|
||||
|
||||
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![];
|
||||
|
|
Loading…
Reference in a new issue