Skip to content

Commit 60431ce

Browse files
authored
Replace toolchain fetch with toolchain install (#4228)
## Summary Something that looks like it was forgotten to replace in #4164. ## Test Plan Run `cargo run toolchain install` should display the warning: ``warning: `uv toolchain install` is experimental and may change without warning.``
1 parent 4483380 commit 60431ce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/uv/src/cli.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,7 @@ pub(crate) struct ToolchainListArgs {
20142014
#[derive(Args)]
20152015
#[allow(clippy::struct_excessive_bools)]
20162016
pub(crate) struct ToolchainInstallArgs {
2017-
/// The toolchain to fetch.
2017+
/// The toolchain to install.
20182018
///
20192019
/// If not provided, the latest available version will be installed.
20202020
pub(crate) target: Option<String>,

crates/uv/src/commands/toolchain/install.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub(crate) async fn install(
2323
printer: Printer,
2424
) -> Result<ExitStatus> {
2525
if preview.is_disabled() {
26-
warn_user!("`uv toolchain fetch` is experimental and may change without warning.");
26+
warn_user!("`uv toolchain install` is experimental and may change without warning.");
2727
}
2828

2929
let toolchains = InstalledToolchains::from_settings()?.init()?;

crates/uv/src/settings.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ impl ToolchainListSettings {
266266
}
267267
}
268268

269-
/// The resolved settings to use for a `toolchain fetch` invocation.
269+
/// The resolved settings to use for a `toolchain install` invocation.
270270
#[allow(clippy::struct_excessive_bools)]
271271
#[derive(Debug, Clone)]
272272
pub(crate) struct ToolchainInstallSettings {

0 commit comments

Comments
 (0)