@@ -13,8 +13,8 @@ use std::ops::Bound;
1313use bhyve_api:: vcpu_cpuid_entry;
1414use cpuid_utils:: { CpuidIdent , CpuidMap , CpuidSet , CpuidValues , CpuidVendor } ;
1515
16- /// Convert a [vcpu_cpuid_entry] into an ([CpuidLeaf ],
17- /// [CpuidValues]) tuple, suitable for insertion into a [Set ].
16+ /// Convert a [vcpu_cpuid_entry] into an ([CpuidIdent ],
17+ /// [CpuidValues]) tuple, suitable for insertion into a [CpuidSet ].
1818///
1919/// This would be implemented as a [From] trait if rust let us.
2020pub fn from_raw (
@@ -74,7 +74,7 @@ impl Specializer {
7474 Self { vcpuid : Some ( vcpuid) , ..self }
7575 }
7676
77- /// Specify CPU topology types to render into the specialized [Set ]
77+ /// Specify CPU topology types to render into the specialized [CpuidSet ]
7878 ///
7979 /// Without basic information such as the number of vCPUs (set by
8080 /// [`Self::with_vcpu_count()`]), population of the requested topology
@@ -92,7 +92,7 @@ impl Specializer {
9292 Self { cpu_topo_populate, ..self }
9393 }
9494
95- /// Specify CPU topology types to clear from the specialized [Set ]
95+ /// Specify CPU topology types to clear from the specialized [CpuidSet ]
9696 ///
9797 /// Some leafs in the provided set may not match expectations for the given
9898 /// CPU vendor. Without populating it with generated data (via
@@ -113,7 +113,7 @@ impl Specializer {
113113 }
114114
115115 /// Given the attributes and modifiers specified in this [Specializer],
116- /// render an updated [Set ] reflecting those data.
116+ /// render an updated [CpuidSet ] reflecting those data.
117117 pub fn execute (
118118 self ,
119119 mut set : CpuidSet ,
0 commit comments