mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Fix Indexes::new
doc (#14293)
This commit is contained in:
parent
326e4497da
commit
9ee34dc69b
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ impl Indexes {
|
||||||
Self(FxHashSet::default())
|
Self(FxHashSet::default())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new [`AuthIndexUrls`] from an iterator of [`AuthIndexUrl`]s.
|
/// Create a new [`Indexes`] instance from an iterator of [`Index`]s.
|
||||||
pub fn from_indexes(urls: impl IntoIterator<Item = Index>) -> Self {
|
pub fn from_indexes(urls: impl IntoIterator<Item = Index>) -> Self {
|
||||||
let mut index_urls = Self::new();
|
let mut index_urls = Self::new();
|
||||||
for url in urls {
|
for url in urls {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue