mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Fix typo
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
This commit is contained in:
parent
abc6abe34d
commit
28c134c570
@ -459,7 +459,7 @@ impl<'cfg> RegistryIndex<'cfg> {
|
||||
// is not known here.
|
||||
.filter(|s| (online || load.is_crate_downloaded(s.summary.package_id())))
|
||||
// Next filter out all yanked packages. Some yanked packages may
|
||||
// leak throguh if they're in a whitelist (aka if they were
|
||||
// leak through if they're in a whitelist (aka if they were
|
||||
// previously in `Cargo.lock`
|
||||
.filter(|s| !s.yanked || yanked_whitelist.contains(&s.summary.package_id()))
|
||||
.map(|s| s.summary.clone());
|
||||
|
Loading…
x
Reference in New Issue
Block a user