mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 10:33:31 +00:00
Remove useless #[allow(lint)]
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
b42d596ec4
commit
b415538097
@ -7,7 +7,6 @@ use ostd::mm::{DmaCoherent, DmaStream, DmaStreamSlice, HasDaddr};
|
||||
///
|
||||
/// Any type implements this trait should also implements `HasDaddr` trait,
|
||||
/// and provides the exact length of DMA area.
|
||||
#[allow(clippy::len_without_is_empty)]
|
||||
pub trait DmaBuf: HasDaddr {
|
||||
/// The length of Dma area, in bytes
|
||||
fn len(&self) -> usize;
|
||||
|
Reference in New Issue
Block a user