diff --git a/crates/uv-static/src/env_vars.rs b/crates/uv-static/src/env_vars.rs index 3e5781ea9..406789893 100644 --- a/crates/uv-static/src/env_vars.rs +++ b/crates/uv-static/src/env_vars.rs @@ -87,7 +87,7 @@ impl EnvVars { /// Equivalent to the `--index-strategy` command-line argument. /// - /// For example, if set to `unsafe-any-match`, uv will consider versions of a given package + /// For example, if set to `unsafe-best-match`, uv will consider versions of a given package /// available across all index URLs, rather than limiting its search to the first index URL /// that contains the package. pub const UV_INDEX_STRATEGY: &'static str = "UV_INDEX_STRATEGY"; diff --git a/docs/configuration/environment.md b/docs/configuration/environment.md index 397b99d00..3a4412f8e 100644 --- a/docs/configuration/environment.md +++ b/docs/configuration/environment.md @@ -115,7 +115,7 @@ space-separated list of URLs as additional indexes when searching for packages. Equivalent to the `--index-strategy` command-line argument. -For example, if set to `unsafe-any-match`, uv will consider versions of a given package +For example, if set to `unsafe-best-match`, uv will consider versions of a given package available across all index URLs, rather than limiting its search to the first index URL that contains the package.