We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c766042 commit a16531aCopy full SHA for a16531a
tests/cli-rustup.rs
@@ -1533,14 +1533,8 @@ fn file_override_path_relative() {
1533
let toolchain_path = config
1534
.rustupdir
1535
.join("toolchains")
1536
- .join(format!("nightly-{}", this_host_triple()))
1537
- .canonicalize()
1538
- .unwrap();
1539
- let toolchain_file = config
1540
- .current_dir()
1541
1542
- .unwrap()
1543
- .join("rust-toolchain.toml");
+ .join(format!("nightly-{}", this_host_triple()));
+ let toolchain_file = config.current_dir().join("rust-toolchain.toml");
1544
1545
// Find shared prefix so we can determine a relative path
1546
let mut p1 = toolchain_path.components().peekable();
0 commit comments