diff options
| author | Satoshi Tanda <tanda.sat@gmail.com> | 2024-12-28 17:18:02 -0800 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2024-12-29 10:44:14 +0000 |
| commit | 17422c6089ee0889a33a27b59984b55c4ff7a90c (patch) | |
| tree | b75d9a3d4a2b63e93ab7e9dcb9038ad1f71a2371 /library | |
| parent | a19239f2989e2f9d401db5d205ad1e7ed753bdc5 (diff) | |
| download | rust-17422c6089ee0889a33a27b59984b55c4ff7a90c.tar.gz rust-17422c6089ee0889a33a27b59984b55c4ff7a90c.zip | |
Fix typo and prettify comment
Diffstat (limited to 'library')
| -rw-r--r-- | library/stdarch/crates/core_arch/src/x86/cpuid.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/library/stdarch/crates/core_arch/src/x86/cpuid.rs b/library/stdarch/crates/core_arch/src/x86/cpuid.rs index 3a5b4fd2ef3..0634f10a99f 100644 --- a/library/stdarch/crates/core_arch/src/x86/cpuid.rs +++ b/library/stdarch/crates/core_arch/src/x86/cpuid.rs @@ -26,14 +26,12 @@ pub struct CpuidResult { } /// Returns the result of the `cpuid` instruction for a given `leaf` (`EAX`) -/// and -/// `sub_leaf` (`ECX`). +/// and `sub_leaf` (`ECX`). /// /// The highest-supported leaf value is returned by the first tuple argument of -/// [`__get_cpuid_max(0)`](fn.__get_cpuid_max.html). For leaves containung +/// [`__get_cpuid_max(0)`](fn.__get_cpuid_max.html). For leaves containing /// sub-leaves, the second tuple argument returns the highest-supported -/// sub-leaf -/// value. +/// sub-leaf value. /// /// The [CPUID Wikipedia page][wiki_cpuid] contains how to query which /// information using the `EAX` and `ECX` registers, and the interpretation of |
