pub(crate) fn replace_hyphen_mut(title: &mut String) {
    let mut hyphen_index = title.find(" - ");
    while let Some(index) = hyphen_index {
        let new_index = " - ".len() + index;
        title.replace_range(index..new_index, ": ");
        hyphen_index = (&title[new_index..]).find(" - ").map(|f| f + new_index);
    }
}
/// Replaces all hyphens found with a colon.
Replaces all hyphens found with a colon.
Replaces all hyphens found with a colon .
pub(crate) fn replace_hyphen_mut(title: &mut String) {
    let mut hyphen_index = title.find(" - ");
    while let Some(index) = hyphen_index {
        let new_index = " - ".len() + index;
        title.replace_range(index..new_index, ": ");
        hyphen_index = (&title[new_index..]).find(" - ").map(|f| f + new_index);
    }
}
pub ( crate ) fn replace_hyphen_mut ( title : & mut String ) { let mut hyphen_index = title . find ( " " ) ; while let Some ( index ) = hyphen_index { let new_index = " " . len ( ) + index ; title . replace_range ( index .. new_index , " " ) ; hyphen_index = ( & title [ new_index .. ] ) . find ( " " ) . map ( | f | f + new_index ) ; } }
Replaces all hyphens found with a colon.
Replaces all hyphens found with a colon .
title
&mut String