]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #107706 - tgross35:atomic-as-mut-ptr, r=m-ou-se
authorMatthias Krüger <matthias.krueger@famsik.de>
Tue, 7 Feb 2023 16:57:16 +0000 (17:57 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Feb 2023 16:57:16 +0000 (17:57 +0100)
commite45984b7746737feeef1dffe403475b2cc4e68cd
treeedc8432ff538f05ef758ea1df825fe653cb651a0
parentb2284b9fd1c363b02d52cbd6e1a4d76a3190e7c6
parentb51d3b9443e0da9246d9017d93da2a25d93bc89b
Rollup merge of #107706 - tgross35:atomic-as-mut-ptr, r=m-ou-se

Mark 'atomic_mut_ptr' methods const

There's nothing that would block these methods from being const (just an UnsafeCell get), and it would be helpful for FFI interfaces in static contexts

Related tracking issue: #66893