mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
chore: remove repetitive words (#2485)
This commit is contained in:
parent
5b2293dbd0
commit
62fdd3db59
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ pub static GLOBAL_AUTH_STORE: Lazy<AuthenticationStore> = 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)]
|
||||
|
|
|
@ -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<Item = Requirement> + '_ {
|
||||
self.iter().map(|dist| Requirement {
|
||||
name: dist.name().clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue