diff options
| author | John Arundel <john@bitfieldconsulting.com> | 2024-06-03 12:33:03 +0100 |
|---|---|---|
| committer | John Arundel <john@bitfieldconsulting.com> | 2024-06-03 12:33:03 +0100 |
| commit | 5e60afb6cc733bd78ffd0e4f6233309c2cd4ea99 (patch) | |
| tree | bfdf4cb05346d043deb81a51dd38e607664b2f01 | |
| parent | 4f3180adac9ff2da34c319fe17baa19e2580d09b (diff) | |
| download | rust-5e60afb6cc733bd78ffd0e4f6233309c2cd4ea99.tar.gz rust-5e60afb6cc733bd78ffd0e4f6233309c2cd4ea99.zip | |
[ arc_with_non_send_sync ]: fix doc nits
| -rw-r--r-- | clippy_lints/src/arc_with_non_send_sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/arc_with_non_send_sync.rs b/clippy_lints/src/arc_with_non_send_sync.rs index 38933897389..d57ab539fff 100644 --- a/clippy_lints/src/arc_with_non_send_sync.rs +++ b/clippy_lints/src/arc_with_non_send_sync.rs @@ -17,7 +17,7 @@ declare_clippy_lint! { /// `Arc<T>` is a thread-safe `Rc<T>` and guarantees that updates to the reference counter /// use atomic operations. To send an `Arc<T>` across thread boundaries and /// share ownership between multiple threads, `T` must be [both `Send` and `Sync`](https://doc.rust-lang.org/std/sync/struct.Arc.html#thread-safety), - /// 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`. /// /// ### Example /// ```no_run |
