misc
This commit is contained in:
parent
7c776ff874
commit
9332ea60c7
1 changed files with 5 additions and 5 deletions
10
src/setup.rs
10
src/setup.rs
|
|
@ -490,12 +490,12 @@ impl Setup {
|
||||||
};
|
};
|
||||||
ByRole::new(|kind| {
|
ByRole::new(|kind| {
|
||||||
mask & match kind {
|
mask & match kind {
|
||||||
Role::King => k,
|
|
||||||
Role::Queen => q,
|
|
||||||
Role::Bishop => b,
|
|
||||||
Role::Knight => n,
|
|
||||||
Role::Rook => r,
|
|
||||||
Role::Pawn => p,
|
Role::Pawn => p,
|
||||||
|
Role::Knight => n,
|
||||||
|
Role::Bishop => b,
|
||||||
|
Role::Rook => r,
|
||||||
|
Role::Queen => q,
|
||||||
|
Role::King => k,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue