remove_end

Function remove_end 

Source
pub fn remove_end(pattern: &str, haystack: &str) -> String