mirror of
https://github.com/facebookexperimental/reverie.git
synced 2025-01-23 13:10:04 +00:00
just a minor lint
Summary: Fix compiler warning. Reviewed By: jasonwhite Differential Revision: D35905514 fbshipit-source-id: 5320c9cb543756ef68830b3e0a07c3284a67b693
This commit is contained in:
parent
ab908fd184
commit
cdba957ddb
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ fn full_family_model(vendor: &str, fi: &FeatureInfo) -> (u8, u8) {
|
||||||
pub(crate) fn get_rcb_perf_config() -> u64 {
|
pub(crate) fn get_rcb_perf_config() -> u64 {
|
||||||
let c = CpuId::new();
|
let c = CpuId::new();
|
||||||
let vendor = c.get_vendor_info().unwrap();
|
let vendor = c.get_vendor_info().unwrap();
|
||||||
let vendor_str = vendor.as_string();
|
let vendor_str = vendor.as_str();
|
||||||
match vendor_str {
|
match vendor_str {
|
||||||
AMD_VENDOR | INTEL_VENDOR => {}
|
AMD_VENDOR | INTEL_VENDOR => {}
|
||||||
s => panic!("Unknown CPU vendor: {}", s),
|
s => panic!("Unknown CPU vendor: {}", s),
|
||||||
|
|
Loading…
Reference in a new issue