diff --git a/cpufeatures/src/lib.rs b/cpufeatures/src/lib.rs index d919f957..bc4afd9a 100644 --- a/cpufeatures/src/lib.rs +++ b/cpufeatures/src/lib.rs @@ -177,8 +177,8 @@ macro_rules! new { } } - /// Initialize underlying storage if needed and get - /// stored value and initialization token. + /// Get stored value and initialization token, + /// initializing underlying storage if needed. #[inline] pub fn init_get() -> (InitToken, bool) { let res = $crate::__unless_target_features! { @@ -204,15 +204,13 @@ macro_rules! new { (InitToken(()), res) } - /// Initialize underlying storage if needed and get - /// initialization token. + /// Initialize underlying storage if needed and get initialization token. #[inline] pub fn init() -> InitToken { init_get().0 } - /// Initialize underlying storage if needed and get - /// stored value. + /// Initialize underlying storage if needed and get stored value. #[inline] pub fn get() -> bool { init_get().1