1 #![allow(clippy::redundant_clone)]
2 #![feature(custom_inner_attributes)]
3 #![clippy::msrv = "^1.0"]
5 fn manual_strip_msrv() {
6 let s = "hello, world!";
7 if s.starts_with("hello, ") {
8 assert_eq!(s["hello, ".len()..].to_uppercase(), "WORLD!");