Remove unused path method (#974)

This commit is contained in:
Charlie Marsh
2024-01-18 16:59:12 -05:00
committed by GitHub
parent 04d3474fb4
commit 8eadca4f8d
-8
View File
@@ -90,14 +90,6 @@ impl EditableRequirement {
EditableRequirement::Url { url, .. } => url.raw(),
}
}
/// Return the resolved path to the editable.
pub fn path(&self) -> &Path {
match self {
EditableRequirement::Path { path, .. } => path,
EditableRequirement::Url { path, .. } => path,
}
}
}
impl FromStr for EditableRequirement {