Skip to content

Commit 6f3446a

Browse files
authored
Merge pull request #7 from neosilky/clippy-fixes
Fix a clippy issue regarding references
2 parents d78a513 + b4085bb commit 6f3446a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn is_different<A: AsRef<Path>, B: AsRef<Path>>(a_base: A, b_base: B) -> Res
5353
return Ok(true);
5454
}
5555

56-
Ok(compare(&a_base, &b_base)? || compare(&b_base, &a_base)?)
56+
Ok(compare(a_base, b_base)? || compare(b_base, a_base)?)
5757
}
5858

5959
fn compare(a_base: &Path, b_base: &Path) -> Result<bool, Error> {

0 commit comments

Comments
 (0)