Skip to content

Commit 0fcccce

Browse files
authored
fix typo
unterminated character literal
1 parent a7a5bb2 commit 0fcccce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ impl PathBufExt for PathBuf {
325325
.as_ref()
326326
.chars()
327327
.map(|c| match c {
328-
'\' => path::MAIN_SEPARATOR,
328+
'\\' => path::MAIN_SEPARATOR,
329329
c => c,
330330
})
331331
.collect::<String>();

0 commit comments

Comments
 (0)