Avoid bare url

This commit is contained in:
Félix Saparelli 2022-05-31 22:17:27 +12:00
parent bd35c473a9
commit 02c8c0af00
No known key found for this signature in database
GPG key ID: B948C4BAE44FC474

View file

@ -153,7 +153,7 @@ pub fn extract<S: AsRef<Path>, P: AsRef<Path>>(
}
/// Fetch install path from environment
/// roughly follows https://doc.rust-lang.org/cargo/commands/cargo-install.html#description
/// roughly follows <https://doc.rust-lang.org/cargo/commands/cargo-install.html#description>
pub fn get_install_path<P: AsRef<Path>>(install_path: Option<P>) -> Option<PathBuf> {
// Command line override first first
if let Some(p) = install_path {