Skip to content

Commit

Permalink
Remove redundant conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
InfyniteHeap committed Sep 24, 2024
1 parent 41bf2aa commit ce0fedc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cli/self_update/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -871,13 +871,12 @@ mod tests {
let final_path = HSTRING::from_wide(&final_path);

assert_eq!(
final_path.as_wide(),
final_path,
super::_add_to_path(
HSTRING::from_wide(&initial_path),
HSTRING::from_wide(&cargo_home)
)
.unwrap()
.as_wide()
);
assert_eq!(
HSTRING::from_wide(&initial_path),
Expand Down

0 comments on commit ce0fedc

Please sign in to comment.