trim_end

Function trim_end 

Source
pub fn trim_end<H, P>(haystack: H, needle: P) -> H
where H: Haystack, P: Needle<H>, P::Consumer: ReverseConsumer<H::Target>, H::Target: Hay,