From 294eba0fee76e1c7e8b665572622a472316361c7 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Mon, 23 Jan 2023 06:41:13 +0300 Subject: refactor: rename apply_move -> make_move --- src/attacks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/attacks.rs') diff --git a/src/attacks.rs b/src/attacks.rs index a9947bc..1ccd0cf 100644 --- a/src/attacks.rs +++ b/src/attacks.rs @@ -38,7 +38,7 @@ enum Direction { NoWe, } -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Attacks { pub knight: AttackTable, pub king: AttackTable, -- cgit v1.2.3