Clippy perf warnings

Removes redundant clones
This commit is contained in:
kjeremy 2020-07-06 17:13:55 -04:00
parent d4bc2f25de
commit ebdee366b0
6 changed files with 9 additions and 16 deletions

View file

@ -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();