Commit 41d11a1
authored
Rollup merge of rust-lang#78735 - danielhenrymantilla:simplify-unsafecell-getmut, r=RalfJung
Simplify the implementation of `get_mut` (no unsafe)
Quick PR to reduce one use of `unsafe` pointed out in the previous PR
r? `@RalfJung`1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1733 | 1733 | | |
1734 | 1734 | | |
1735 | 1735 | | |
1736 | | - | |
1737 | | - | |
| 1736 | + | |
1738 | 1737 | | |
1739 | 1738 | | |
1740 | 1739 | | |
| |||
0 commit comments