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 d704b65 commit e72d2faCopy full SHA for e72d2fa
src/notifications.rs
@@ -143,8 +143,14 @@ impl<'a> Display for Notification<'a> {
143
} => write!(
144
f,
145
"both `{0}` and `{1}` exist. Using `{0}`",
146
- rust_toolchain.display(),
147
- rust_toolchain_toml.display()
+ rust_toolchain
+ .canonicalize()
148
+ .unwrap_or_else(|_| PathBuf::from(rust_toolchain))
149
+ .display(),
150
+ rust_toolchain_toml
151
152
+ .unwrap_or_else(|_| PathBuf::from(rust_toolchain_toml))
153
154
),
155
}
156
0 commit comments