pub fn prettify_url(url: &str) -> &str {
    let slashes: Vec<&str> = url.split('/').collect();
    let dots: Vec<&str> = slashes[slashes.len() - 1].split('.').collect();
    return dots[0];
}
/// PARAMS: the url of the repository.
/// it will split the url based on the ':'
/// character, on order to tidy up the output
/// to the console.
the url of the repository.
it will split the url based on the ':'
character, on order to tidy up the output
to the console.
the url of the repository . it will split the url based on the ' : ' character on order to tidy up the output to the console .
pub fn prettify_url(url: &str) -> &str {
    let slashes: Vec<&str> = url.split('/').collect();
    let dots: Vec<&str> = slashes[slashes.len() - 1].split('.').collect();
    return dots[0];
}
pub fn prettify_url ( url : & str ) -> & str { let slashes : Vec < & str > = url . split ( '/' ) . collect ( ) ; let dots : Vec < & str > = slashes [ slashes . len ( ) - 1 ] . split ( '.' ) . collect ( ) ; return dots [ 0 ] ; }
PARAMS: the url of the repository.
PARAMS : the url of the repository .
url
&str
url
&str