Skip to content

Commit c419945

Browse files
authored
Fix formatting.
1 parent c3545c4 commit c419945

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,9 +545,11 @@ fn mul_div_po2_u64(value: u64, numer: u64, denom: u32) -> u64 {
545545
#[cfg(all(target_arch = "x86_64", target_feature = "sse2"))]
546546
fn has_tsc_support() -> bool {
547547
let cpuid = CpuId::new();
548-
let has_invariant_tsc = cpuid.get_advanced_power_mgmt_info()
548+
let has_invariant_tsc = cpuid
549+
.get_advanced_power_mgmt_info()
549550
.map_or(false, |apm| apm.has_invariant_tsc());
550-
let has_rdtscp = cpuid.get_extended_processor_and_feature_identifiers()
551+
let has_rdtscp = cpuid
552+
.get_extended_processor_and_feature_identifiers()
551553
.map_or(false, |epf| epf.has_rdtscp());
552554

553555
has_invariant_tsc && has_rdtscp

0 commit comments

Comments
 (0)