Fix documentation in Cell

This commit is contained in:
Joshua Liebow-Feeser 2021-08-26 15:21:29 -07:00 committed by GitHub
parent ad02dc46ba
commit e7faaff6a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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