rust-clippy/tests/ui/single_char_push_str.fixed

11 lines
173 B
Rust
Raw Normal View History

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