On Thu, Jun 12, 2025 at 4:02 PM Alexandre Courbot <acour...@nvidia.com> wrote: > > + /// > assert_eq!(PowerOfTwo::<u32>::try_new(16).unwrap().value(), 16);
By the way, we are trying to write examples close to normal kernel code as possible, so could you please use `?` here instead of `unwrap()`? It is not a big deal, when within `assert`s, but there is value in not showing any `unwrap()`s, and to spot easily places where we actually do `unwrap()`. Also, please use intra-doc links wherever they may work, e.g. I think [`PowerOfTwo`] and [`None`] will work. Thanks! Cheers, Miguel