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