diff --git a/crates/requirements-txt/src/lib.rs b/crates/requirements-txt/src/lib.rs index 103dc137c..468aa5c43 100644 --- a/crates/requirements-txt/src/lib.rs +++ b/crates/requirements-txt/src/lib.rs @@ -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 {