Re: [PATCH v5 03/10] rust: sync: atomic: Add ordering annotation types

From: Boqun Feng
Date: Fri Jun 27 2025 - 10:35:04 EST


On Thu, Jun 26, 2025 at 02:36:50PM +0200, Andreas Hindborg wrote:
[...]
> > +/// The trait bound for annotating operations that should support all orderings.
> > +pub trait All: internal::OrderingUnit {}
>
> I think I would prefer `Any` rather than `All` here. Because it is "any
> of", not "all of them at once".
>

Good idea! Changed. Thanks!

Regards,
Boqun

>
> Best regards,
> Andreas Hindborg
>
>