2 #![warn(clippy::repeat_once)]
3 #[allow(unused, clippy::many_single_char_names, clippy::redundant_clone)]
7 let string = "String".to_string();
10 let a = [1; 5].to_vec();
11 let b = slice.to_vec();
12 let c = "hello".to_string();
13 let d = "hi".to_string();
14 let e = s.to_string();
15 let f = string.clone();