about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-05-16 17:22:51 -0700
committerJosh Stone <jistone@redhat.com>2022-05-16 17:22:51 -0700
commit1e53fab55a0435be8bf4bf3ff9810ce2c73d5977 (patch)
tree425deaff97ff0601227387adb44a97a141a35e54
parent15d8c008203208402bd234aec66b07dbe2824ec7 (diff)
downloadrust-1e53fab55a0435be8bf4bf3ff9810ce2c73d5977.tar.gz
rust-1e53fab55a0435be8bf4bf3ff9810ce2c73d5977.zip
Remove outdated references to nll-rfc#40
-rw-r--r--library/core/src/cell.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/core/src/cell.rs b/library/core/src/cell.rs
index fa0206c349a..d43be569c5b 100644
--- a/library/core/src/cell.rs
+++ b/library/core/src/cell.rs
@@ -1520,7 +1520,6 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
     where
         F: FnOnce(&mut T) -> &mut U,
     {
-        // FIXME(nll-rfc#40): fix borrow-check
         let value = NonNull::from(f(&mut *orig));
         RefMut { value, borrow: orig.borrow, marker: PhantomData }
     }
@@ -1561,7 +1560,6 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
     where
         F: FnOnce(&mut T) -> Option<&mut U>,
     {
-        // FIXME(nll-rfc#40): fix borrow-check
         // SAFETY: function holds onto an exclusive reference for the duration
         // of its call through `orig`, and the pointer is only de-referenced
         // inside of the function call never allowing the exclusive reference to