File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,13 @@ pub const MANIFEST_PREAMBLE: &str = "\
4848/// Information about a package that is available somewhere in the file system.
4949///
5050/// A package is a `Cargo.toml` file plus all the files that are part of it.
51- //
52- // TODO: is `manifest_path` a relic?
5351#[ derive( Clone ) ]
5452pub struct Package {
5553 inner : Rc < PackageInner > ,
5654}
5755
5856#[ derive( Clone ) ]
57+ // TODO: is `manifest_path` a relic?
5958struct PackageInner {
6059 /// The package's manifest.
6160 manifest : Manifest ,
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ impl<'cfg> RegistryIndex<'cfg> {
459459 // is not known here.
460460 . filter ( |s| ( online || load. is_crate_downloaded ( s. summary . package_id ( ) ) ) )
461461 // Next filter out all yanked packages. Some yanked packages may
462- // leak throguh if they're in a whitelist (aka if they were
462+ // leak through if they're in a whitelist (aka if they were
463463 // previously in `Cargo.lock`
464464 . filter ( |s| !s. yanked || yanked_whitelist. contains ( & s. summary . package_id ( ) ) )
465465 . map ( |s| s. summary . clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments