From 761116cabe45045d0b458cd8e605ac74d854f948 Mon Sep 17 00:00:00 2001 From: Mark Wainwright Date: Fri, 6 Dec 2024 16:45:17 +0000 Subject: [PATCH] fixed a typo in docs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())