Skip to content

Commit 68279e3

Browse files
bors[bot]matklad
andauthored
Merge #10011
10011: minor: remove dead code r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents ea5314d + 4f8c619 commit 68279e3

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)