Skip to content

Commit

Permalink
fixed a typo in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wainwrightmark committed Dec 6, 2024
1 parent 8037fb2 commit 761116c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl<I: Inner, const ELEMENTS: usize> Permutation<I, ELEMENTS> {

/// 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<J: Inner, const M: usize>(other: Permutation<J, M>) -> Self {
debug_assert!(M <= ELEMENTS);
Self::from_swaps(other.swaps())
Expand Down

0 comments on commit 761116c

Please sign in to comment.