[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251107083727.63c2e524@nimda>
Date: Fri, 7 Nov 2025 08:37:27 +0300
From: Onur Özkan <work@...rozkan.dev>
To: Hang Shu <m18080292938@....com>
Cc: ojeda@...nel.org, Hang Shu <hangshu847@...il.com>, Alex Gaynor
<alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>, Gary Guo
<gary@...yguo.net>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, Benno Lossin <lossin@...nel.org>, Andreas
Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>, Trevor
Gross <tmgross@...ch.edu>, Danilo Krummrich <dakr@...nel.org>, Charalampos
Mitrodimas <charmitro@...teo.net>, Borys Tyran
<borys.tyran@...tonmail.com>, Daniel Sedlak <daniel@...lak.dev>, Tamir
Duberstein <tamird@...il.com>, Matt Gilbride <mattgilbride@...gle.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rust: rbtree: fix cursor method lifetimes to match tree
lifetime
On Fri, 7 Nov 2025 05:06:56 +0000
Hang Shu <m18080292938@....com> wrote:
> From: Hang Shu <hangshu847@...il.com>
>
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.
>
Powered by blists - more mailing lists