PosMap: remove unneeded type bound

This commit is contained in:
Simon Gardling 2025-03-11 17:32:38 -04:00
parent 37292dd0f1
commit 44560d9bfa
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -10,7 +10,7 @@ use std::{
/// Map of all points on the board against some type T
/// Used to index like so: example[i][j]
/// with each coordinate
pub struct PosMap<T: Default>(ArrayVec<T, { Board::AREA.0 as usize }>);
pub struct PosMap<T>(ArrayVec<T, { Board::AREA.0 as usize }>);
impl<T: Default> PosMap<T> {
#[allow(clippy::new_without_default)]