mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Avoid bare url
This commit is contained in:
parent
bd35c473a9
commit
02c8c0af00
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ pub fn extract<S: AsRef<Path>, P: AsRef<Path>>(
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Fetch install path from environment
|
/// 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> {
|
pub fn get_install_path<P: AsRef<Path>>(install_path: Option<P>) -> Option<PathBuf> {
|
||||||
// Command line override first first
|
// Command line override first first
|
||||||
if let Some(p) = install_path {
|
if let Some(p) = install_path {
|
||||||
|
|
Loading…
Add table
Reference in a new issue