Skip to content

Commit 88a56ea

Browse files
committed
Fix the windows build
1 parent ef321d6 commit 88a56ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/file_assoc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub fn install_file_association() -> MainResult<()> {
1717
let rust_script_path = if let Some(stripped) = rust_script_path.strip_prefix(r#"\\?\"#) {
1818
stripped
1919
} else {
20-
rust_script_path
20+
&rust_script_path[..]
2121
};
2222

2323
let res = (|| -> io::Result<()> {

0 commit comments

Comments
 (0)