Skip to content

Commit 1e53fab

Browse files
committed
Remove outdated references to nll-rfc#40
1 parent 15d8c00 commit 1e53fab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/core/src/cell.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,6 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
15201520
where
15211521
F: FnOnce(&mut T) -> &mut U,
15221522
{
1523-
// FIXME(nll-rfc#40): fix borrow-check
15241523
let value = NonNull::from(f(&mut *orig));
15251524
RefMut { value, borrow: orig.borrow, marker: PhantomData }
15261525
}
@@ -1561,7 +1560,6 @@ impl<'b, T: ?Sized> RefMut<'b, T> {
15611560
where
15621561
F: FnOnce(&mut T) -> Option<&mut U>,
15631562
{
1564-
// FIXME(nll-rfc#40): fix borrow-check
15651563
// SAFETY: function holds onto an exclusive reference for the duration
15661564
// of its call through `orig`, and the pointer is only de-referenced
15671565
// inside of the function call never allowing the exclusive reference to

0 commit comments

Comments
 (0)