aboutsummaryrefslogtreecommitdiff
path: root/src/grossmeister/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grossmeister/mod.rs')
-rw-r--r--src/grossmeister/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grossmeister/mod.rs b/src/grossmeister/mod.rs
index b7c134d..6ed5f17 100644
--- a/src/grossmeister/mod.rs
+++ b/src/grossmeister/mod.rs
@@ -26,7 +26,7 @@ pub struct Grossmeister {
impl Grossmeister {
pub fn new(board: Board) -> Self {
- return Self {
+ Self {
board,
attacks: Attacks::new(),
transposition_table: vec![None; TTABLE_SIZE as usize],