Skip to content

Commit 017c1ef

Browse files
committed
apply cargo fmt
1 parent ac8a3e6 commit 017c1ef

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/uu/wc/src/wc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ fn try_get_stdin_size() -> Option<usize> {
5757
return None;
5858
};
5959
let file_type = rustix::fs::FileType::from_raw_mode(stat.st_mode);
60-
if file_type == rustix::fs::FileType::RegularFile
61-
{
60+
if file_type == rustix::fs::FileType::RegularFile {
6261
return Some(stat.st_size as usize);
6362
}
6463
None

0 commit comments

Comments
 (0)