mirror of
https://github.com/Noratrieb/bool-toggle.git
synced 2026-01-14 20:35:01 +01:00
fix: copy pasta
This commit is contained in:
parent
5fe2a3defe
commit
8fd1d34f64
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ impl<const N: usize> TogglingIsALifestyle for [bool; N] {
|
|||
fn toggle(&mut self) {
|
||||
// i am so fast
|
||||
for b in self {
|
||||
let mut bool_toggler = BooleanTogglerFactory::create_boolean_toggler(self);
|
||||
let mut bool_toggler = BooleanTogglerFactory::create_boolean_toggler(b);
|
||||
bool_toggler.toggle();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue