diff --git a/ataxx/src/position.rs b/ataxx/src/position.rs index 5ef4be0..de08719 100644 --- a/ataxx/src/position.rs +++ b/ataxx/src/position.rs @@ -228,7 +228,7 @@ impl Position { /// /// let mov = Move::new_single(Square::B7); /// - /// assert_eq!(pos.after_move(mov)::.checksum, new_pos.checksum); + /// assert_eq!(pos.after_move::(mov).checksum, new_pos.checksum); /// ``` pub fn after_move(&self, m: Move) -> Position { let stm = self.side_to_move;