Skip to content

Commit e3aa6ec

Browse files
authored
Merge pull request #807 from brson/unused
Allow append_path to be unused
2 parents 3e8a3b3 + ee07bdf commit e3aa6ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustup/env_var.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use std::env;
33
use std::path::{Path, PathBuf};
44
use std::process::Command;
55

6+
#[allow(unused)]
67
pub fn append_path(name: &str, value: Vec<PathBuf>, cmd: &mut Command) {
78
let old_value = env::var_os(name);
89
let mut parts: Vec<PathBuf>;

0 commit comments

Comments
 (0)