Skip to content

Commit

Permalink
allow redundant alloc import warnings due to new alloc prelude in n…
Browse files Browse the repository at this point in the history
…ightly
  • Loading branch information
starkat99 committed Feb 25, 2024
1 parent c2a254d commit 1537b82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vec.rs
Expand Up @@ -102,6 +102,7 @@ pub trait HalfBitsVecExt: private::SealedHalfBitsVec {
mod private {
use crate::{bf16, f16};
#[cfg(feature = "alloc")]
#[allow(unused_imports)]
use alloc::vec::Vec;

pub trait SealedHalfFloatVec {}
Expand Down

0 comments on commit 1537b82

Please sign in to comment.