mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-19 01:24:05 +00:00
72d2c2eab4
Fixes #5875
10 lines
180 B
Rust
10 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');
|
|
}
|