Skip to content

Commit

Permalink
Remove unecessary #[allow] attributes
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Oct 20, 2023
1 parent d619ff1 commit b940bee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 0 additions & 3 deletions crates/sel4-async/block-io/src/when_alloc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#![allow(dead_code)]
#![allow(unused_variables)]

use alloc::rc::Rc;
use alloc::vec;
use alloc::vec::Vec;
Expand Down
7 changes: 1 addition & 6 deletions crates/sel4-bounce-buffer-allocator/src/basic.rs
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
#![allow(dead_code)]
#![allow(unused_imports)]
#![allow(unused_variables)]

use alloc::alloc::Global;
use alloc::collections::BTreeMap;
use alloc::vec::Vec;
use core::alloc::{Allocator, Layout};
use core::ops::Bound;

use crate::{AbstractBounceBufferAllocator, Align, Offset, Size};
use crate::{AbstractBounceBufferAllocator, Offset, Size};

const GRANULE_SIZE: usize = 2048;

Expand Down

0 comments on commit b940bee

Please sign in to comment.