Skip to content

Commit c792eb7

Browse files
committed
Run rustfmt
1 parent 81f40c8 commit c792eb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl<'a> BytesOrWideString<'a> {
5252
use std::os::unix::ffi::OsStrExt;
5353

5454
if let BytesOrWideString::Bytes(slice) = self {
55-
return PathBuf::from(OsStr::from_bytes(slice))
55+
return PathBuf::from(OsStr::from_bytes(slice));
5656
}
5757
}
5858

@@ -62,13 +62,13 @@ impl<'a> BytesOrWideString<'a> {
6262
use std::os::windows::ffi::OsStringExt;
6363

6464
if let BytesOrWideString::Wide(slice) = self {
65-
return PathBuf::from(OsString::from_wide(slice))
65+
return PathBuf::from(OsString::from_wide(slice));
6666
}
6767
}
6868

6969
if let BytesOrWideString::Bytes(b) = self {
7070
if let Ok(s) = str::from_utf8(b) {
71-
return PathBuf::from(s)
71+
return PathBuf::from(s);
7272
}
7373
}
7474
unreachable!()

0 commit comments

Comments
 (0)