Skip to content
Snippets Groups Projects
Verified Commit b708ae81 authored by nfontrod's avatar nfontrod
Browse files

src/prune.rs functions get_str & string_convert are now visible to the current crate

parent f3f73250
No related branches found
No related tags found
No related merge requests found
......@@ -174,7 +174,7 @@ fn handle_boolean_options(sd: &Prune) -> Vec<String> {
/// - val The value to convert
/// # Return
/// The value in string form
fn string_convert(val: Option<usize>) -> String {
pub(crate) fn string_convert(val: Option<usize>) -> String {
match val {
Some(n) => n.to_string(),
None => String::from(""),
......@@ -186,7 +186,7 @@ fn string_convert(val: Option<usize>) -> String {
/// - val The string to convert
/// # Return
/// The value in string form
fn get_str(val: &Option<String>) -> String {
pub(crate) fn get_str(val: &Option<String>) -> String {
match val {
Some(n) => n.to_owned(),
None => String::from(""),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment