We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f3180a commit 5e60afbCopy full SHA for 5e60afb
clippy_lints/src/arc_with_non_send_sync.rs
@@ -17,7 +17,7 @@ declare_clippy_lint! {
17
/// `Arc<T>` is a thread-safe `Rc<T>` and guarantees that updates to the reference counter
18
/// use atomic operations. To send an `Arc<T>` across thread boundaries and
19
/// 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`
+ /// so either `T` should be made `Send + Sync` or an `Rc` should be used instead of an `Arc`.
21
///
22
/// ### Example
23
/// ```no_run
0 commit comments