diff options
| -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 cce1242d84f..2fbbeb35e1d 100644 --- a/library/core/src/cell.rs +++ b/library/core/src/cell.rs @@ -378,7 +378,7 @@ impl<T> Cell<T> { } } - /// Replaces the contained value, and returns it. + /// Replaces the contained value with `val`, and returns the old contained value. /// /// # Examples /// |
