From c23da457ae62815477454290dde86d5b598c28df Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Fri, 4 Aug 2023 13:52:36 +0200 Subject: [PATCH] Expand "iff" to "if and only if" (#1051) There has been a few PRs which wanted to change "iff" to "if". Expanding it should help and avoid math-heavy jargon. --- src/concurrency/shared_state/arc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/concurrency/shared_state/arc.md b/src/concurrency/shared_state/arc.md index c2147068..cdd82c55 100644 --- a/src/concurrency/shared_state/arc.md +++ b/src/concurrency/shared_state/arc.md @@ -28,8 +28,8 @@ fn main() { * `Arc` stands for "Atomic Reference Counted", a thread safe version of `Rc` that uses atomic operations. -* `Arc` implements `Clone` whether or not `T` does. It implements `Send` and `Sync` iff `T` - implements them both. +* `Arc` implements `Clone` whether or not `T` does. It implements `Send` and `Sync` if + and only if `T` implements them both. * `Arc::clone()` has the cost of atomic operations that get executed, but after that the use of the `T` is free. * Beware of reference cycles, `Arc` does not use a garbage collector to detect them.