Skip to content

Commit 3f556fd

Browse files
committed
refactor(self-update): rename UPDATE_ROOT to DEFAULT_UPDATE_ROOT
1 parent ab5d84e commit 3f556fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/self_update.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,12 @@ These components can be acquired through a Visual Studio installer.
331331
332332
"#;
333333

334-
static UPDATE_ROOT: &str = "https://static.rust-lang.org/rustup";
334+
static DEFAULT_UPDATE_ROOT: &str = "https://static.rust-lang.org/rustup";
335335

336336
fn update_root() -> String {
337337
process()
338338
.var("RUSTUP_UPDATE_ROOT")
339-
.unwrap_or_else(|_| String::from(UPDATE_ROOT))
339+
.unwrap_or_else(|_| String::from(DEFAULT_UPDATE_ROOT))
340340
}
341341

342342
/// `CARGO_HOME` suitable for display, possibly with $HOME

0 commit comments

Comments
 (0)