From 638e48197b5115e1642eecbefec0838dfcbac79c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 23 Feb 2017 12:38:40 +0100 Subject: [PATCH] This function does not need to be public --- libimaginteraction/src/ask.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libimaginteraction/src/ask.rs b/libimaginteraction/src/ask.rs index 30f4b26c..2a393d0e 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_(s: &str, - default: Option, - permit_empty: bool, - permit_multiline: bool, - eof: Option<&str>, - prompt: &str, - input: &mut R) +fn ask_string_(s: &str, + default: Option, + permit_empty: bool, + permit_multiline: bool, + eof: Option<&str>, + prompt: &str, + input: &mut R) -> String { let mut v = vec![];