unused -> dead_code
This commit is contained in:
parent
22098bbfff
commit
9ac271f276
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue