#![allow(dead_code, deprecated, unused_variables, unused_mut)] fn main() { assert_eq!(b"\r hello world\n ".trim_ascii(), b"hello world"); assert_eq!(b" ".trim_ascii(), b""); assert_eq!(b"".trim_ascii(), b""); }