Skip to content

Commit

Permalink
Review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas committed Nov 5, 2023
1 parent 22ed661 commit 77bda04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::cmp::Ordering;
use std::collections::HashMap;
use std::convert::{From, TryFrom};
use std::ffi::OsStr;
use std::fmt::{self};
use std::fmt;
use std::path::Path;
use std::str::FromStr;

Expand Down
5 changes: 1 addition & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,7 @@ mod test {

#[test]
fn check_cpu_arch() {
if !IS_SUPPORTED {
return;
}
let s = System::new();
assert!(s.cpu_arch().is_some());
assert_eq!(s.cpu_arch().is_some(), IS_SUPPORTED);
}
}

0 comments on commit 77bda04

Please sign in to comment.