From 8eadca4f8d5c707dfe6dbce08a6743481812e8b9 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 18 Jan 2024 16:59:12 -0500 Subject: [PATCH] Remove unused path method (#974) --- crates/requirements-txt/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) 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 {