Skip to content

Commit 6b42bbb

Browse files
authoredMay 20, 2024··
Fix typo (#357)
1 parent 05885ec commit 6b42bbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ RUSTFLAGS="--cfg loom" cargo test --test buggy_concurrent_inc --release
6868
Loom currently does not implement the full C11 memory model.
6969
Here is the (incomplete) list of unsupported features.
7070
* `SeqCst` accesses (e.g. `load`, `store`, ..):
71-
They are are regarded as `AcqRel`. That is, they impose weaker
71+
They are regarded as `AcqRel`. That is, they impose weaker
7272
synchronization, causing Loom to generate false alarms (not complete). See
7373
[#180](https://github.com/tokio-rs/loom/issues/180) for example. On the other
7474
hand, `fence(SeqCst)` is supported.

‎src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
//! an exhaustive check, and instead tell loom to prune out interleavings that are unlikely to
280280
//! reveal additional bugs. You do this by providing loom with a _thread pre-emption bound_. If you
281281
//! set such a bound, loom will check all possible executions that include **at most** `n` thread
282-
//! pre-emptions (where one thread is forcibly stopped and another one runs in its place. **In
282+
//! pre-emptions where one thread is forcibly stopped and another one runs in its place. **In
283283
//! practice, setting the thread pre-emption bound to 2 or 3 is enough to catch most bugs** while
284284
//! significantly reducing the number of possible executions.
285285
//!

0 commit comments

Comments
 (0)
Please sign in to comment.