about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMultisampledNight <contact@multisamplednight.com>2024-03-22 23:04:20 +0100
committerMultisampledNight <contact@multisamplednight.com>2024-03-22 23:04:20 +0100
commite853b50a722c09c7526683316b5471528063cccd (patch)
treea4b24ec6388a74e04bddb02fa66ee28ea7af2092 /library/std/src
parentb3df0d7e5ef5f7dbeeca3fb289c65680ad013f87 (diff)
downloadrust-e853b50a722c09c7526683316b5471528063cccd.tar.gz
rust-e853b50a722c09c7526683316b5471528063cccd.zip
docs(sync): normalize dot in fn summaries
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/sync/mutex.rs2
-rw-r--r--library/std/src/sync/rwlock.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sync/mutex.rs b/library/std/src/sync/mutex.rs
index 895fcbd6b7e..d417034f5af 100644
--- a/library/std/src/sync/mutex.rs
+++ b/library/std/src/sync/mutex.rs
@@ -396,7 +396,7 @@ impl<T: ?Sized> Mutex<T> {
         self.poison.get()
     }
 
-    /// Clear the poisoned state from a mutex
+    /// Clear the poisoned state from a mutex.
     ///
     /// If the mutex is poisoned, it will remain poisoned until this function is called. This
     /// allows recovering from a poisoned state and marking that it has recovered. For example, if
diff --git a/library/std/src/sync/rwlock.rs b/library/std/src/sync/rwlock.rs
index f7f098c082a..d648cd08994 100644
--- a/library/std/src/sync/rwlock.rs
+++ b/library/std/src/sync/rwlock.rs
@@ -439,7 +439,7 @@ impl<T: ?Sized> RwLock<T> {
         self.poison.get()
     }
 
-    /// Clear the poisoned state from a lock
+    /// Clear the poisoned state from a lock.
     ///
     /// If the lock is poisoned, it will remain poisoned until this function is called. This allows
     /// recovering from a poisoned state and marking that it has recovered. For example, if the