Use iter().product()
or fold
instead of for loops in Permutation mod
#562
Labels
good first issue
Good for newcomers
status:minor
Low priority improvements
team:Core
Low Level Core Development Team (Rust)
Milestone
This is a clear example, looks like
current_component
is a tuple of elements of the same type; if it was an array you could just loop it or calliter().product()
orfold
.Originally posted by @ZER0 in #561 (comment)
The text was updated successfully, but these errors were encountered: