From ebdee366b0e16d1d019db2f5c22a730b4451194f Mon Sep 17 00:00:00 2001 From: kjeremy Date: Mon, 6 Jul 2020 17:13:55 -0400 Subject: Clippy perf warnings Removes redundant clones --- crates/test_utils/src/fixture.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/test_utils/src/fixture.rs') 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 { let components = meta.split_ascii_whitespace().collect::>(); let path = components[0].to_string(); - assert!(path.starts_with("/")); + assert!(path.starts_with('/')); let mut krate = None; let mut deps = Vec::new(); -- cgit v1.2.3