mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 11:24:24 +00:00
NFC: remove redundant clones (clippy::perf)
This commit is contained in:
parent
23b48d377d
commit
9452dfaac7
5 changed files with 5 additions and 5 deletions
|
@ -92,7 +92,7 @@ fn read_json<'a>(
|
|||
|
||||
// Some ill behaved macro try to use stdout for debugging
|
||||
// We ignore it here
|
||||
if !buf.starts_with("{") {
|
||||
if !buf.starts_with('{') {
|
||||
log::error!("proc-macro tried to print : {}", buf);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue