about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-10 18:22:17 +0200
committerGitHub <noreply@github.com>2021-10-10 18:22:17 +0200
commitfd5bed73d0e0cd04e5616436950cf01df4cb30f8 (patch)
treee7dcbb0b43f9ebc9a64092e6f842c5f0d59c700e
parent0c87288f92b7e6365d61cfbcbc453ea4c696c030 (diff)
parente7faaff6a5b8763a6d722d05499e7b87f99fd110 (diff)
downloadrust-fd5bed73d0e0cd04e5616436950cf01df4cb30f8.tar.gz
rust-fd5bed73d0e0cd04e5616436950cf01df4cb30f8.zip
Rollup merge of #88374 - joshlf:patch-2, r=JohnTitor
Fix documentation in Cell
-rw-r--r--library/core/src/cell.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs
index 025ad54b539..2ca077a98f8 100644
--- a/library/core/src/cell.rs
+++ b/library/core/src/cell.rs
@@ -349,7 +349,7 @@ impl<T> Cell<T> {
         drop(old);
     }
 
-    /// Swaps the values of two Cells.
+    /// Swaps the values of two `Cell`s.
     /// Difference with `std::mem::swap` is that this function doesn't require `&mut` reference.
     ///
     /// # Examples