Skip to content

Commit 4f8c619

Browse files
committed
minor: remove dead code
1 parent ea5314d commit 4f8c619

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

crates/project_model/src/cargo_workspace.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -354,15 +354,6 @@ impl CargoWorkspace {
354354
CargoWorkspace { packages, targets, workspace_root }
355355
}
356356

357-
pub fn from_cargo_metadata3(
358-
cargo_toml: &ManifestPath,
359-
config: &CargoConfig,
360-
progress: &dyn Fn(String),
361-
) -> Result<CargoWorkspace> {
362-
let meta = CargoWorkspace::fetch_metadata(cargo_toml, config, progress)?;
363-
Ok(CargoWorkspace::new(meta))
364-
}
365-
366357
pub fn packages<'a>(&'a self) -> impl Iterator<Item = Package> + ExactSizeIterator + 'a {
367358
self.packages.iter().map(|(id, _pkg)| id)
368359
}

0 commit comments

Comments
 (0)