Skip to content

Commit

Permalink
Merge pull request rust-lang#231 from AlecGoncharow/patch-1
Browse files Browse the repository at this point in the history
fix documentation typo
  • Loading branch information
calebzulawski authored Jan 25, 2022
2 parents 56566d8 + 36cca22 commit cad7434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/core_simd/src/vector/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ macro_rules! impl_float_vector {
self.abs().lanes_ne(Self::splat(0.0)) & (self.to_bits() & Self::splat(<$type>::INFINITY).to_bits()).lanes_eq(Simd::splat(0))
}

/// Returns true for each lane if its value is neither neither zero, infinite,
/// subnormal, or `NaN`.
/// Returns true for each lane if its value is neither zero, infinite,
/// subnormal, nor `NaN`.
#[inline]
#[must_use = "method returns a new mask and does not mutate the original value"]
pub fn is_normal(self) -> Mask<$mask_ty, LANES> {
Expand Down

0 comments on commit cad7434

Please sign in to comment.