Clarify what `Cell::replace` returns

This commit is contained in:
Camelid 2020-12-26 10:09:41 -08:00 committed by GitHub
parent 1832bdd7de
commit c71f5232d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,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
///