diff options
| author | Michael Howell <michael@notriddle.com> | 2017-08-08 09:53:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-08 09:53:51 -0700 |
| commit | 846d373ddf31aeb76dabedb81a4ae9200d9da1cd (patch) | |
| tree | 7fcaf7b5e0b04dca8ecf9ac86baf5ed6216c6f00 | |
| parent | dc76247a0a7778a0f38d63bcc3ae5428327bfcf1 (diff) | |
Clarify the language around `RefCell::swap`
| -rw-r--r-- | src/libcore/cell.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index 675fcef5e5a..f0a94a634f5 100644 --- a/src/libcore/cell.rs +++ b/src/libcore/cell.rs @@ -589,7 +589,7 @@ impl<T> RefCell<T> { /// /// # Panics /// - /// This function will panic if the `RefCell` has any outstanding borrows, + /// This function will panic if either `RefCell` has any outstanding borrows, /// whether or not they are full mutable borrows. #[inline] #[unstable(feature = "refcell_replace_swap", issue="43570")] |
