Re: [PATCH v3 3/3] rust: atomic: update a safety comment in impl of `fetch_add`
From: Alice Ryhl
Date: Sat Feb 21 2026 - 03:47:58 EST
On Fri, Feb 20, 2026 at 07:51:11PM +0100, Miguel Ojeda wrote:
> On Fri, Feb 20, 2026 at 11:20 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
> >
> > Because I doubt `as_ptr()` documents these things explicitly. (To be
> > clear, I don't think as_ptr() needs to do so - that'd be really
> > verbose.)
>
> It documents them, which is why I suggested it.
I guess I should have double checked. In that case the wording is great.
Alice