mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Fix documentation in Cell
This commit is contained in:
committed by
GitHub
parent
ad02dc46ba
commit
e7faaff6a5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user