Re: [PATCH 09/10] rust: property: Add PropertyGuard
From: Andrew Ballance
Date: Wed Mar 26 2025 - 17:11:13 EST
On Wed, Mar 26, 2025 at 12:13 PM Remo Senekowitsch Wrote:
> +/// A helper for reading device properties.
> +///
> +/// Use [Self::required] if a missing property is considered a bug and
> +/// [Self::optional] otherwise.
> +///
> +/// For convenience, [Self::or] and [Self::or_default] are provided.
> +pub struct PropertyGuard<'fwnode, 'name, T> {
nit: when linking items in rustdoc comments you should suround them like [`this`]
Andrew