1
0
Fork 0
This commit is contained in:
Paul-Nicolas Madelaine 2025-11-29 14:25:47 +01:00
parent c017c3e915
commit 6b74dbf86a

View file

@ -5,8 +5,8 @@ use crate::bitboard::*;
macro_rules! container { macro_rules! container {
($v:vis, $a:ident, $b:ident, $n:literal) => { ($v:vis, $a:ident, $b:ident, $n:literal) => {
#[doc = "Container with values for each [`"] #[doc = "Container with values for each [`"]
#[doc = stringify!($a)] #[doc = stringify!($a)]
#[doc = "`]."] #[doc = "`]."]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
$v struct $b<T>(pub(crate) [T; $n]); $v struct $b<T>(pub(crate) [T; $n]);
#[allow(unused)] #[allow(unused)]