We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43afc59 commit 81a3cecCopy full SHA for 81a3cec
src/structures/paging/frame_alloc.rs
@@ -8,7 +8,7 @@ use crate::structures::paging::{PageSize, PhysFrame};
8
///
9
/// The implementer of this trait must guarantee that the `allocate_frame`
10
/// method returns only unique unused frames. Otherwise, undefined behavior
11
-/// may result from two caller modifying or deallocating the same frame.
+/// may result from two callers modifying or deallocating the same frame.
12
pub unsafe trait FrameAllocator<S: PageSize> {
13
/// Allocate a frame of the appropriate size and return it if possible.
14
fn allocate_frame(&mut self) -> Option<PhysFrame<S>>;
0 commit comments