diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-06 08:35:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-06 08:35:27 +0100 |
| commit | d93b5200d50a6cfb6bc0cba7504e6c1628c568f3 (patch) | |
| tree | 72a85da9261367cda4133c41c20847e2d50d0915 /compiler/rustc_query_impl/src | |
| parent | c013962695462a809163b30b8a3fe1e46eaf6a77 (diff) | |
| parent | dad327090af66f0519f5beaf471ae293834dae7f (diff) | |
| download | rust-d93b5200d50a6cfb6bc0cba7504e6c1628c568f3.tar.gz rust-d93b5200d50a6cfb6bc0cba7504e6c1628c568f3.zip | |
Rollup merge of #104002 - RalfJung:unsafecell-new, r=JohnTitor
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).
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
