Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinaboos committed Nov 8, 2023
1 parent e4cc922 commit 442e3e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/frame_allocator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ assert_not_impl_any!(AllocatedFrame<Page2M>: DerefMut, Clone);
assert_not_impl_any!(AllocatedFrame<Page1G>: DerefMut, Clone);

/// The result of splitting a `Frames` object into multiple smaller `Frames` objects.
pub struct SplitFrames<const S: MemoryState, P: PageSize> {
pub struct SplitFrames<const S: MemoryState, P: PageSize> {
before_start: Option<Frames<S, P>>,
start_to_end: Frames<S, P>,
after_end: Option<Frames<S, P>>,
Expand Down
1 change: 0 additions & 1 deletion kernel/page_allocator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
//! or when needed to fulfill a specific request.

#![no_std]
#![feature(const_trait_impl)]

extern crate alloc;
#[macro_use] extern crate log;
Expand Down

0 comments on commit 442e3e5

Please sign in to comment.