with_default

Function with_default 

Source
pub fn with_default<S, E: Display>(
    prompt: &str,
    default: &str,
    parser: impl for<'a> FnMut(&'a str) -> Result<S, E>,
) -> S