aboutsummaryrefslogtreecommitdiff
path: root/src/grossmeister/mod.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-02-23 13:21:57 +0300
committereug-vs <eugene@eug-vs.xyz>2023-02-23 14:01:19 +0300
commit43dc24718c442ef45f6cecf5790df0ab84a72cfc (patch)
tree16f446b1d5a3e0fdf638e0bcab16cf34ec338bd8 /src/grossmeister/mod.rs
parentf60c573ba71207c18a28413e3940a4e21b07c73f (diff)
downloadchessnost-43dc24718c442ef45f6cecf5790df0ab84a72cfc.tar.gz
refactor: apply clippy suggestions
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],