Skip to content

Commit

Permalink
Fix Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Jun 25, 2020
1 parent 6d2cc88 commit 47ddc21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cli/self_update/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,7 @@ fn get_windows_path_var() -> Result<Option<String>> {
}
}

pub fn do_remove_from_path(methods: &[PathUpdateMethod]) -> Result<()> {
assert!(methods.len() == 1 && methods[0] == PathUpdateMethod::Windows);

pub fn do_remove_from_path() -> Result<()> {
use std::ptr;
use winapi::shared::minwindef::*;
use winapi::um::winuser::{
Expand Down

0 comments on commit 47ddc21

Please sign in to comment.