On Tue, May 6, 2025 at 10:51 AM Zhao Liu <zhao1....@intel.com> wrote:
> > -        let _: () = CanReceiveFn::ASSERT_IS_SOME;
> > +        const { assert!(CanReceiveFn::IS_SOME) };
>
> Do you think it's a good idea to warp this as a helper for easy
> callback calls?

I think the wrapper would be very similar to what exists before this
patch, wouldn't it? The const { assert!(...) } seems clear enough and
not too verbose.

Paolo


Reply via email to