From 28c134c570c337cf7b8867e6552a198b0896f829 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Mon, 16 Jan 2023 09:57:17 +0800 Subject: [PATCH] Fix typo Signed-off-by: hi-rustin --- src/cargo/sources/registry/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/sources/registry/index.rs b/src/cargo/sources/registry/index.rs index f5ac24944..633ed74b4 100644 --- a/src/cargo/sources/registry/index.rs +++ b/src/cargo/sources/registry/index.rs @@ -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());