about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Liebow-Feeser <joshlf@users.noreply.github.com>2021-08-26 15:21:29 -0700
committerGitHub <noreply@github.com>2021-08-26 15:21:29 -0700
commite7faaff6a5b8763a6d722d05499e7b87f99fd110 (patch)
treef3b81d271ec8a5698b74145d557e0b93275ac989
parentad02dc46badee510bd3a2c093edf80fcaade91b1 (diff)
downloadrust-e7faaff6a5b8763a6d722d05499e7b87f99fd110.tar.gz
rust-e7faaff6a5b8763a6d722d05499e7b87f99fd110.zip
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 85b43f48847..36adc431c38 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