about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Arundel <john@bitfieldconsulting.com>2024-06-03 12:33:03 +0100
committerJohn Arundel <john@bitfieldconsulting.com>2024-06-03 12:33:03 +0100
commit5e60afb6cc733bd78ffd0e4f6233309c2cd4ea99 (patch)
treebfdf4cb05346d043deb81a51dd38e607664b2f01
parent4f3180adac9ff2da34c319fe17baa19e2580d09b (diff)
downloadrust-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.rs2
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