From: "Onur Özkan" <work@onurozkan.dev>
To: Hang Shu <m18080292938@163.com>
Cc: ojeda@kernel.org, "Hang Shu" <hangshu847@gmail.com>,
"Alex Gaynor" <alex.gaynor@gmail.com>,
"Boqun Feng" <boqun.feng@gmail.com>,
"Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
"Charalampos Mitrodimas" <charmitro@posteo.net>,
"Borys Tyran" <borys.tyran@protonmail.com>,
"Daniel Sedlak" <daniel@sedlak.dev>,
"Tamir Duberstein" <tamird@gmail.com>,
"Matt Gilbride" <mattgilbride@google.com>,
rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] rust: rbtree: fix cursor method lifetimes to match tree lifetime
Date: Fri, 7 Nov 2025 08:37:27 +0300 [thread overview]
Message-ID: <20251107083727.63c2e524@nimda> (raw)
In-Reply-To: <20251107050700.1086059-1-m18080292938@163.com>
On Fri, 7 Nov 2025 05:06:56 +0000
Hang Shu <m18080292938@163.com> wrote:
> From: Hang Shu <hangshu847@gmail.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.
>
next prev parent reply other threads:[~2025-11-07 5:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-07 5:06 [PATCH] rust: rbtree: fix cursor method lifetimes to match tree lifetime Hang Shu
2025-11-07 5:37 ` Onur Özkan [this message]
2025-11-07 9:27 ` Alice Ryhl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251107083727.63c2e524@nimda \
--to=work@onurozkan.dev \
--cc=a.hindborg@kernel.org \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=borys.tyran@protonmail.com \
--cc=charmitro@posteo.net \
--cc=dakr@kernel.org \
--cc=daniel@sedlak.dev \
--cc=gary@garyguo.net \
--cc=hangshu847@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lossin@kernel.org \
--cc=m18080292938@163.com \
--cc=mattgilbride@google.com \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tamird@gmail.com \
--cc=tmgross@umich.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox