pub const fn bytes_trim_end(this: &[u8]) -> &[u8]
Removes ascii whitespace from the end of this.
this
use konst::slice; const TRIMMED: &[u8] = slice::bytes_trim_end(b"\rfoo bar "); assert_eq!(TRIMMED, b"\rfoo bar");