chore: ♻️ Fix typos

This commit is contained in:
Berkus Decker 2022-10-02 03:57:03 +03:00 committed by Berkus Decker
parent 4d8048f3d0
commit e228a1cff4
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ impl Console {
}
/// Overwrite the current output. The old output will go out of scope and
/// it's Drop function will be called.
/// its Drop function will be called.
pub fn replace_with(&mut self, x: Output) {
self.current_ptr().flush();

View File

@ -59,7 +59,7 @@ static DMA_ALLOCATOR: sync::NullLock<Lazy<BuddyAlloc>> =
))
}));
// Try the following arguments instead to see all mailbox operations
// fail. It will cause the allocator to use memory that are marked
// fail. It will cause the allocator to use memory that is marked
// cacheable and therefore not DMA-safe. The answer from the VideoCore
// won't be received by the CPU because it reads an old cached value
// that resembles an error case instead.