aboutsummaryrefslogtreecommitdiff
path: root/crates/test_utils
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2020-07-06 22:13:55 +0100
committerkjeremy <[email protected]>2020-07-06 22:13:55 +0100
commitebdee366b0e16d1d019db2f5c22a730b4451194f (patch)
treeb7a052c076ecf5c7a21824693da85b8f3bc970d8 /crates/test_utils
parentd4bc2f25de6297c75f7b7f029df224b650ef3143 (diff)
Clippy perf warnings
Removes redundant clones
Diffstat (limited to 'crates/test_utils')
-rw-r--r--crates/test_utils/src/fixture.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/test_utils/src/fixture.rs b/crates/test_utils/src/fixture.rs
index fad8f7e2c..ed764046b 100644
--- a/crates/test_utils/src/fixture.rs
+++ b/crates/test_utils/src/fixture.rs
@@ -62,7 +62,7 @@ impl Fixture {
62 let components = meta.split_ascii_whitespace().collect::<Vec<_>>(); 62 let components = meta.split_ascii_whitespace().collect::<Vec<_>>();
63 63
64 let path = components[0].to_string(); 64 let path = components[0].to_string();
65 assert!(path.starts_with("/")); 65 assert!(path.starts_with('/'));
66 66
67 let mut krate = None; 67 let mut krate = None;
68 let mut deps = Vec::new(); 68 let mut deps = Vec::new();