mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
d93b5200d5
fix a comment in UnsafeCell::new There are several safe methods that access the inner value: `into_inner` has existed since forever and `get_mut` also exists since recently. So this comment seems just wrong. But `&self` methods return raw pointers and thus require unsafe code (though the methods themselves are still safe).