rust/tests/ui/single_char_push_str.rs
2020-08-15 01:40:55 +02:00

11 lines
180 B
Rust

// run-rustfix
#![warn(clippy::single_char_push_str)]
fn main() {
let mut string = String::new();
string.push_str("R");
string.push_str("'");
string.push('u');
}