Re: [PATCH v2 2/2] rust: atomic: update documentation for `fetch_add`

From: Miguel Ojeda

Date: Thu Feb 19 2026 - 08:12:06 EST


On Thu, Feb 19, 2026 at 1:20 PM Andreas Hindborg <a.hindborg@xxxxxxxxxx> wrote:
>
> + /// assert_eq!(54, x.load(Relaxed));
> ///
> - /// assert_eq!(54, { x.fetch_add(12, Full); x.load(Relaxed) } );
> /// ```

Doesn't this leave an empty line at the end of the example?

Cheers,
Miguel