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 = "`]."]
|
#[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(dead_code)]
|
||||||
impl<T> $b<T> {
|
impl<T> $b<T> {
|
||||||
#[inline]
|
#[inline]
|
||||||
pub const fn new(values: [T; $n]) -> Self {
|
pub const fn new(values: [T; $n]) -> Self {
|
||||||
|
|
@ -506,7 +506,6 @@ impl Role {
|
||||||
/// Container with values for each [`Role`].
|
/// Container with values for each [`Role`].
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
|
||||||
pub struct ByRole<T>(pub(crate) [T; 6]);
|
pub struct ByRole<T>(pub(crate) [T; 6]);
|
||||||
#[allow(unused)]
|
|
||||||
impl<T> ByRole<T> {
|
impl<T> ByRole<T> {
|
||||||
#[inline]
|
#[inline]
|
||||||
pub const fn new(values: [T; 6]) -> Self {
|
pub const fn new(values: [T; 6]) -> Self {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue