Skip to content

Commit

Permalink
Fix typos from typos checker
Browse files Browse the repository at this point in the history
  • Loading branch information
psiegl committed Nov 26, 2024
1 parent 3fe8712 commit 4fd2cf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commons/zenoh-shm/src/api/provider/shm_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ where
}

/// Deallocating policy.
/// Forcely deallocate up to N buffers until allocation succeeds.
/// Forcibly deallocate up to N buffers until allocation succeeds.
#[zenoh_macros::unstable_doc]
pub struct Deallocate<
const N: usize,
Expand Down
2 changes: 1 addition & 1 deletion commons/zenoh-shm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl ShmBufInner {
/// # Safety
/// You should understand what you are doing, as overestimation
/// of the reference counter can lead to memory being stalled until
/// recovered by watchdog subsystem or forcely deallocated
/// recovered by watchdog subsystem or forcibly deallocated
pub unsafe fn inc_ref_count(&self) {
self.header.header().refcount.fetch_add(1, Ordering::SeqCst);
}
Expand Down

0 comments on commit 4fd2cf4

Please sign in to comment.