Skip to content

Commit

Permalink
refactor(cli): Satiate clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Aug 26, 2024
1 parent 7be5d8f commit 2cdcab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub fn get_sources() -> Result<Vec<path::PathBuf>> {
if !path.exists() {
continue;
}
if let Ok(part) = path.strip_prefix(&sourcedir) {
if let Ok(part) = path.strip_prefix(sourcedir) {
let mut components = part.components();
if let Some(path::Component::Normal(name)) = components.next() {
let n = name.to_str().unwrap();
Expand Down

0 comments on commit 2cdcab8

Please sign in to comment.