summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-02-23 13:13:14 +0100
committerGitHub <noreply@github.com>2017-02-23 13:13:14 +0100
commit54655b9bce1ea4367396af5de0c2aa7376a05cea (patch)
treeafbb2265648bfbf87f1b2ef35863cabf7710d119
parentb50334c10f0d72ac65981d5e4dc28e34e9edc382 (diff)
parent638e48197b5115e1642eecbefec0838dfcbac79c (diff)
downloadimag-54655b9bce1ea4367396af5de0c2aa7376a05cea.zip
imag-54655b9bce1ea4367396af5de0c2aa7376a05cea.tar.gz
Merge pull request #906 from matthiasbeyer/libimaginteraction/unpub-fn
This function does not need to be public
-rw-r--r--libimaginteraction/src/ask.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/libimaginteraction/src/ask.rs b/libimaginteraction/src/ask.rs
index 30f4b26..2a393d0 100644
--- a/libimaginteraction/src/ask.rs
+++ b/libimaginteraction/src/ask.rs
@@ -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![];