We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7be5d8f commit 2cdcab8Copy full SHA for 2cdcab8
src/status/mod.rs
@@ -108,7 +108,7 @@ pub fn get_sources() -> Result<Vec<path::PathBuf>> {
108
if !path.exists() {
109
continue;
110
}
111
- if let Ok(part) = path.strip_prefix(&sourcedir) {
+ if let Ok(part) = path.strip_prefix(sourcedir) {
112
let mut components = part.components();
113
if let Some(path::Component::Normal(name)) = components.next() {
114
let n = name.to_str().unwrap();
0 commit comments