Re: [PATCH v13 4/4] rust: Add `OwnableRefCounted`

From: Miguel Ojeda
Date: Mon Dec 01 2025 - 12:09:42 EST


On Mon, Dec 1, 2025 at 11:23 AM Oliver Mangold <oliver.mangold@xxxxx> 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