mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-31 15:47:31 +00:00
Clippy perf warnings
Removes redundant clones
This commit is contained in:
parent
d4bc2f25de
commit
ebdee366b0
6 changed files with 9 additions and 16 deletions
|
@ -62,7 +62,7 @@ impl Fixture {
|
|||
let components = meta.split_ascii_whitespace().collect::<Vec<_>>();
|
||||
|
||||
let path = components[0].to_string();
|
||||
assert!(path.starts_with("/"));
|
||||
assert!(path.starts_with('/'));
|
||||
|
||||
let mut krate = None;
|
||||
let mut deps = Vec::new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue