diff options
| author | Joshua Liebow-Feeser <joshlf@users.noreply.github.com> | 2021-08-26 15:21:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 15:21:29 -0700 |
| commit | e7faaff6a5b8763a6d722d05499e7b87f99fd110 (patch) | |
| tree | f3b81d271ec8a5698b74145d557e0b93275ac989 | |
| parent | ad02dc46badee510bd3a2c093edf80fcaade91b1 (diff) | |
| download | rust-e7faaff6a5b8763a6d722d05499e7b87f99fd110.tar.gz rust-e7faaff6a5b8763a6d722d05499e7b87f99fd110.zip | |
Fix documentation in Cell
| -rw-r--r-- | library/core/src/cell.rs | 2 |
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 |
