[PATCH v13 4/4] rust: Add `OwnableRefCounted`
Miguel Ojeda
miguel.ojeda.sandonis at gmail.com
Mon Dec 1 17:09:10 UTC 2025
On Mon, Dec 1, 2025 at 11:23 AM Oliver Mangold <oliver.mangold at pm.me> wrote:
>
> Ah, yes, rustfmt must I done that, and I missed it. Will fix.
Strange -- if you noticed a case where `rustfmt` wasn't idempotent,
please let us (and upstream) know about it.
> Not sure what you mean by fictional function. Do you mean a non-existent
> function? We want to compile this code as a unit test.
Typically that means either using a (hidden on rendering) function
that wraps the code and returns a `Result` or directly a doctest that
returns one (better, when applicable). Please check other tests for
lines like
/// # Ok::<(), Error>(())
I hope that helps!
Cheers,
Miguel
More information about the Linux-security-module-archive
mailing list