Re: [PATCH] rust: rbtree: fix cursor method lifetimes to match tree lifetime

From: Onur Özkan

Date: Fri Nov 07 2025 - 00:44:47 EST


On Fri, 7 Nov 2025 05:06:56 +0000
Hang Shu <m18080292938@xxxxxxx> wrote:

> From: Hang Shu <hangshu847@xxxxxxxxx>
>

Jfyi, there is no need for adding this.

> The returned keys and values of cursor methods should be bound by
> the lifetime of the rbtree itself ('a), not the lifetime of the
> cursor.
>