diff --git a/src/lib.rs b/src/lib.rs index 9c1881f..ebc970a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -205,7 +205,7 @@ impl Permutation { /// Create a permutation from a permutation of a smaller or equal number of elements /// This will permute the first `M` elements and leave the other untouched - /// Panics if `M`` > `ELEMENTS` + /// Panics if `M` > `ELEMENTS` pub fn from_lesser(other: Permutation) -> Self { debug_assert!(M <= ELEMENTS); Self::from_swaps(other.swaps())