fn normalize(string: &str) -> String {
    string
        .trim()
        .trim_right_matches(std::path::MAIN_SEPARATOR)
        .to_lowercase()
}
// Normalize CLI text input.
//
// Will convert to lowercase, remove whitespace, and trim trailing slashes sometimes added by tab
// completion.
Normalize CLI text input.
Will convert to lowercase, remove whitespace, and trim trailing slashes sometimes added by tab
completion.
Normalize CLI text input . Will convert to lowercase remove whitespace and trim trailing slashes sometimes added by tab completion .
fn normalize(string: &str) -> String {
    string
        .trim()
        .trim_right_matches(std::path::MAIN_SEPARATOR)
        .to_lowercase()
}
fn normalize ( string : & str ) -> String { string . trim ( ) . trim_right_matches ( std :: path :: MAIN_SEPARATOR ) . to_lowercase ( ) }
Normalize CLI text input.
Normalize CLI text input .
string
&str
string
&str