Skip to content

Commit 2cdcab8

Browse files
committed
refactor(cli): Satiate clippy
1 parent 7be5d8f commit 2cdcab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/status/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub fn get_sources() -> Result<Vec<path::PathBuf>> {
108108
if !path.exists() {
109109
continue;
110110
}
111-
if let Ok(part) = path.strip_prefix(&sourcedir) {
111+
if let Ok(part) = path.strip_prefix(sourcedir) {
112112
let mut components = part.components();
113113
if let Some(path::Component::Normal(name)) = components.next() {
114114
let n = name.to_str().unwrap();

0 commit comments

Comments
 (0)