Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 5e60afb

Browse files
committed
[ arc_with_non_send_sync ]: fix doc nits
1 parent 4f3180a commit 5e60afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/arc_with_non_send_sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ declare_clippy_lint! {
1717
/// `Arc<T>` is a thread-safe `Rc<T>` and guarantees that updates to the reference counter
1818
/// use atomic operations. To send an `Arc<T>` across thread boundaries and
1919
/// share ownership between multiple threads, `T` must be [both `Send` and `Sync`](https://doc.rust-lang.org/std/sync/struct.Arc.html#thread-safety),
20-
/// so either `T` should be made `Send + Sync` or an `Rc` should be used instead of an `Arc`
20+
/// so either `T` should be made `Send + Sync` or an `Rc` should be used instead of an `Arc`.
2121
///
2222
/// ### Example
2323
/// ```no_run

0 commit comments

Comments
 (0)