From 5beea0ec3f5ba144c0060cf4e0938653b4fc7c05 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 29 Oct 2024 14:39:41 +0700 Subject: [PATCH] Fix typo and one instance of missing backticks. (#62) --- src/scalar/subset.rs | 2 +- src/simd/rand_impl.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)*)