<!-- Hi there! Whether you've come to make a suggestion for a new lint, an improvement to an existing lint or to report a bug or a false positive in Clippy, you've come to the right place. For bug reports and false positives, please include the output of `cargo clippy -V` in the report. Thank you for using Clippy! Write your comment below this line: --> This ```rust use std::str; let string = "Hello World!"; assert_eq!(str::from_utf8(string.as_bytes()[6..11]).unwrap(), "World"); ``` could be written as ```rust let string = "Hello World!"; assert_eq!(&string[6..11], "World"); ```