From 62fdd3db5912d93024a079433d1d21a95e35b11d Mon Sep 17 00:00:00 2001 From: John <153272819+hishope@users.noreply.github.com> Date: Sat, 16 Mar 2024 22:13:48 +0800 Subject: [PATCH] chore: remove repetitive words (#2485) --- crates/uv-auth/src/lib.rs | 2 +- crates/uv-installer/src/site_packages.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uv-auth/src/lib.rs b/crates/uv-auth/src/lib.rs index 7d24d059a..5dcb2b678 100644 --- a/crates/uv-auth/src/lib.rs +++ b/crates/uv-auth/src/lib.rs @@ -30,7 +30,7 @@ pub static GLOBAL_AUTH_STORE: Lazy = Lazy::new(Authenticati // // The host must always be an exact match. // -// The port is only allowed to differ if it it matches the "default port" for the scheme. +// The port is only allowed to differ if it matches the "default port" for the scheme. // However, `url` (and therefore `reqwest`) sets the `port` to `None` if it matches the default port // so we do not need any special handling here. #[derive(Debug, Clone, PartialEq, Eq, Hash)] diff --git a/crates/uv-installer/src/site_packages.rs b/crates/uv-installer/src/site_packages.rs index ceb430e95..478e8223d 100644 --- a/crates/uv-installer/src/site_packages.rs +++ b/crates/uv-installer/src/site_packages.rs @@ -99,7 +99,7 @@ impl<'a> SitePackages<'a> { self.distributions.iter().flatten() } - /// Returns an iterator over the the installed distributions, represented as requirements. + /// Returns an iterator over the installed distributions, represented as requirements. pub fn requirements(&self) -> impl Iterator + '_ { self.iter().map(|dist| Requirement { name: dist.name().clone(),