From 9943224ee0a75d71fa004bdf5df3ebce9e90da4c Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 16 May 2025 07:44:59 -0700 Subject: [PATCH] [bitboard] Add separators to the NOT_A_FILE and NOT_H_FILE constants This is a clippy suggestion. --- bitboard/src/shifts.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitboard/src/shifts.rs b/bitboard/src/shifts.rs index 2370306..98b5adf 100644 --- a/bitboard/src/shifts.rs +++ b/bitboard/src/shifts.rs @@ -3,8 +3,8 @@ use super::BitBoard; impl BitBoard { - const NOT_A_FILE: u64 = 0xfefefefefefefefe; - const NOT_H_FILE: u64 = 0x7f7f7f7f7f7f7f7f; + const NOT_A_FILE: u64 = 0xfefe_fefe_fefe_fefe; + const NOT_H_FILE: u64 = 0x7f7f_7f7f_7f7f_7f7f; #[inline] pub fn shift_north(&self, n: u8) -> BitBoard {