Re: [PATCH v4 0/3] rust: add kunit doctest with doc fixes
From: Miguel Ojeda
Date: Mon Jan 13 2025 - 09:47:07 EST
On Fri, Dec 20, 2024 at 7:25 AM Jimmy Ostler <jtostler1@xxxxxxxxx> wrote:
>
> This patch series adds a doctest for the `ArrayLayout` type, as well as
> implements `From<LayoutError> for Error` for the internal `LayoutError`.
> This change in the first patch is required for the added rustdoc kunit
> test in the third patch to compile.
>
> This series also adds a change to the `stack_try_pin_init` example
> documentation, so it correctly imports the `AllocError` kernel type.
Applied to `rust-next` -- thanks everyone!
[ Reworded commit. - Miguel ]
[ Fixed formatting of imports (still unordered). Slightly reworded
commit. - Miguel ]
[ Added periods to example comments. Reworded title. - Miguel ]
Jimmy: I tried to improve the wording a bit more on the first patch
following our discussions, to try to be clearer/explicit, but please
let me know if I made a mistake or you disagree. Thanks!
Cheers,
Miguel