Skip to content

Commit ce0fedc

Browse files
author
Yue Fei
committed
Remove redundant conversion
1 parent 41bf2aa commit ce0fedc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cli/self_update/windows.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -871,13 +871,12 @@ mod tests {
871871
let final_path = HSTRING::from_wide(&final_path);
872872

873873
assert_eq!(
874-
final_path.as_wide(),
874+
final_path,
875875
super::_add_to_path(
876876
HSTRING::from_wide(&initial_path),
877877
HSTRING::from_wide(&cargo_home)
878878
)
879879
.unwrap()
880-
.as_wide()
881880
);
882881
assert_eq!(
883882
HSTRING::from_wide(&initial_path),

0 commit comments

Comments
 (0)