Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Dohrmann <Erbse.13@gmx.de>
  • Loading branch information
josephlr and Freax13 authored Apr 20, 2022
1 parent 43afc59 commit 81a3cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/paging/frame_alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use crate::structures::paging::{PageSize, PhysFrame};
///
/// The implementer of this trait must guarantee that the `allocate_frame`
/// method returns only unique unused frames. Otherwise, undefined behavior
/// may result from two caller modifying or deallocating the same frame.
/// may result from two callers modifying or deallocating the same frame.
pub unsafe trait FrameAllocator<S: PageSize> {
/// Allocate a frame of the appropriate size and return it if possible.
fn allocate_frame(&mut self) -> Option<PhysFrame<S>>;
Expand Down

0 comments on commit 81a3cec

Please sign in to comment.