Re: [PATCH v2 1/4] rust: alloc: implement `Borrow` and `BorrowMut` for `Vec`

From: Benno Lossin
Date: Sun Jun 15 2025 - 11:28:54 EST


On Sun Jun 15, 2025 at 3:16 PM CEST, Miguel Ojeda wrote:
> On Sun, Jun 15, 2025 at 2:36 PM Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>>
>> That's fine by me, I was just a bit nervous to start a doccomment
>> directly with the examples, but in this context it appears to make
>> sense.
>
> Yeah, that may be my fault by emphasizing a lot the "title is used as
> short description by `rustdoc`" thing :)

I also do that pretty often :)

> Here that does not apply, and I agree that (at least the title here)
> is not really conveying anything.

Might be something for our "how to write rust docs" documentation :)

---
Cheers,
Benno