Skip to content

Commit b04d87c

Browse files
tandasatAmanieu
authored andcommitted
Fix typo and prettify comment
1 parent dc8925a commit b04d87c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

crates/core_arch/src/x86/cpuid.rs

+3-5
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ pub struct CpuidResult {
2626
}
2727

2828
/// Returns the result of the `cpuid` instruction for a given `leaf` (`EAX`)
29-
/// and
30-
/// `sub_leaf` (`ECX`).
29+
/// and `sub_leaf` (`ECX`).
3130
///
3231
/// The highest-supported leaf value is returned by the first tuple argument of
33-
/// [`__get_cpuid_max(0)`](fn.__get_cpuid_max.html). For leaves containung
32+
/// [`__get_cpuid_max(0)`](fn.__get_cpuid_max.html). For leaves containing
3433
/// sub-leaves, the second tuple argument returns the highest-supported
35-
/// sub-leaf
36-
/// value.
34+
/// sub-leaf value.
3735
///
3836
/// The [CPUID Wikipedia page][wiki_cpuid] contains how to query which
3937
/// information using the `EAX` and `ECX` registers, and the interpretation of

0 commit comments

Comments
 (0)