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
+1 -1
View File
@@ -349,7 +349,7 @@ pub fn set(&self, val: 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