1
0
Fork 0

unused -> dead_code

This commit is contained in:
Paul-Nicolas Madelaine 2025-12-03 15:20:40 +01:00
parent 22098bbfff
commit 9ac271f276

View file

@ -9,7 +9,7 @@ macro_rules! container {
#[doc = "`]."]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
$v struct $b<T>(pub(crate) [T; $n]);
#[allow(unused)]
#[allow(dead_code)]
impl<T> $b<T> {
#[inline]
pub const fn new(values: [T; $n]) -> Self {
@ -506,7 +506,6 @@ impl Role {
/// Container with values for each [`Role`].
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct ByRole<T>(pub(crate) [T; 6]);
#[allow(unused)]
impl<T> ByRole<T> {
#[inline]
pub const fn new(values: [T; 6]) -> Self {