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 = "\
48
48
/// Information about a package that is available somewhere in the file system.
49
49
///
50
50
/// A package is a `Cargo.toml` file plus all the files that are part of it.
51
- //
52
- // TODO: is `manifest_path` a relic?
53
51
#[ derive( Clone ) ]
54
52
pub struct Package {
55
53
inner : Rc < PackageInner > ,
56
54
}
57
55
58
56
#[ derive( Clone ) ]
57
+ // TODO: is `manifest_path` a relic?
59
58
struct PackageInner {
60
59
/// The package's manifest.
61
60
manifest : Manifest ,
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ impl<'cfg> RegistryIndex<'cfg> {
459
459
// is not known here.
460
460
. filter ( |s| ( online || load. is_crate_downloaded ( s. summary . package_id ( ) ) ) )
461
461
// 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
463
463
// previously in `Cargo.lock`
464
464
. filter ( |s| !s. yanked || yanked_whitelist. contains ( & s. summary . package_id ( ) ) )
465
465
. map ( |s| s. summary . clone ( ) ) ;
You can’t perform that action at this time.
0 commit comments