aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabi-250 <gabi@torproject.org>2024-04-25 16:06:36 +0000
committerIan Jackson <iwj@torproject.org>2024-04-25 16:06:36 +0000
commit9edcedd6c73c63272f5074f9b24f14fe6f9caca0 (patch)
tree56566b043b890dd510449ba075bea0c0d3082845
parent0c9d7c1fd7faae57c80c5f00794351e6fe4e4ed7 (diff)
downloadarti-9edcedd6c73c63272f5074f9b24f14fe6f9caca0.tar.gz
arti-9edcedd6c73c63272f5074f9b24f14fe6f9caca0.zip
tor-memtrack: Fix typos
-rw-r--r--crates/tor-memtrack/src/drop_bomb.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tor-memtrack/src/drop_bomb.rs b/crates/tor-memtrack/src/drop_bomb.rs
index 8d30a2b27..6a7b55fa6 100644
--- a/crates/tor-memtrack/src/drop_bomb.rs
+++ b/crates/tor-memtrack/src/drop_bomb.rs
@@ -3,7 +3,7 @@
//! Provides two drop bomb types: [`DropBomb`] and [`DropBombCondition`].
//!
//! These help assure that our algorithms are correct,
-//! by detecting when types that contain them bomb are dropped inappropriately.
+//! by detecting when types that contain the bomb are dropped inappropriately.
//!
//! # No-op outside `#[cfg(test)]`
//!
@@ -381,7 +381,7 @@ impl SimulationHandle {
}
}
- /// Mark this simulated bomb has having exploded
+ /// Mark this simulated bomb as having exploded
fn set_exploded(&self) {
self.exploded.store(true, Ordering::Release);
}