Skip to content

Commit

Permalink
Format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
martintc committed Apr 25, 2022
1 parent d109053 commit 45492bc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions os_info/src/illumos/mod.rs
Expand Up @@ -48,15 +48,9 @@ fn get_os() -> Type {
.expect("Failed to get OS");

match str::from_utf8(&os.stdout) {
Ok("illumos\n") => {
Type::Illumos
},
Ok(_) => {
Type::Unknown
},
Err(_) => {
Type::Unknown
}
Ok("illumos\n") => Type::Illumos,
Ok(_) => Type::Unknown,
Err(_) => Type::Unknown,
}
}

Expand Down

0 comments on commit 45492bc

Please sign in to comment.