mirror of https://github.com/astral-sh/uv
Fix `Indexes::new` doc (#14293)
This commit is contained in:
parent
326e4497da
commit
9ee34dc69b
|
|
@ -86,7 +86,7 @@ impl Indexes {
|
|||
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 {
|
||||
let mut index_urls = Self::new();
|
||||
for url in urls {
|
||||
|
|
|
|||
Loading…
Reference in New Issue