diff --git a/src/scalar/subset.rs b/src/scalar/subset.rs index e499414..d83f02a 100644 --- a/src/scalar/subset.rs +++ b/src/scalar/subset.rs @@ -5,7 +5,7 @@ use num_complex::Complex; /// Nested sets and conversions between them (using an injective mapping). Useful to work with /// substructures. In generic code, it is preferable to use `SupersetOf` as trait bound whenever -/// possible instead of `SubsetOf` (because SupersetOf is automatically implemented whenever +/// possible instead of `SubsetOf` (because `SupersetOf` is automatically implemented whenever /// `SubsetOf` is). /// /// The notion of "nested sets" is very broad and applies to what the types are _supposed to diff --git a/src/simd/rand_impl.rs b/src/simd/rand_impl.rs index 827ce64..33edeb8 100644 --- a/src/simd/rand_impl.rs +++ b/src/simd/rand_impl.rs @@ -1,7 +1,7 @@ use crate::simd::*; // Given two token streams in the format `ignore_snd!([first_token_tree], [second])` will simply -// expand to the first one. This is usefull in order to allow the repetition of some statement +// expand to the first one. This is useful in order to allow the repetition of some statement // according to some repetition variable, without using the repetition variables. macro_rules! ignore_snd ( ([$($fst: tt)*], [$($snd: tt)*]) => ($($fst)*)