We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RefCell::swap
1 parent dc76247 commit 846d373Copy full SHA for 846d373
src/libcore/cell.rs
@@ -589,7 +589,7 @@ impl<T> RefCell<T> {
589
///
590
/// # Panics
591
592
- /// This function will panic if the `RefCell` has any outstanding borrows,
+ /// This function will panic if either `RefCell` has any outstanding borrows,
593
/// whether or not they are full mutable borrows.
594
#[inline]
595
#[unstable(feature = "refcell_replace_swap", issue="43570")]
0 commit comments