Removed `import_input`

This should be left to the client crate, `settings::utils::read_file`
is already here for that
This commit is contained in:
Lucien Cartier-Tilet 2020-03-28 22:38:28 +01:00
parent 18eb16e777
commit c6baa46aca
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 0 additions and 17 deletions

View File

@ -67,20 +67,3 @@ pub fn init() -> std::result::Result<(), log::SetLoggerError> {
}
}
}
/// Import user input from a text file and return them as a String
///
/// # Arguments
///
/// * `path` - path to the file containing the user input
///
/// # Example
///
/// ```no_run
/// # use lang_evolve_core::import_input;
/// use std::path::Path;
/// let _input = import_input(Path::new("input.txt")).unwrap();
/// ```
pub fn import_input(path: &Path) -> Result<String> {
utils::read_file(&path)
}