[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72kAYp0Z3VNS=JgApceCXx1OVXMNJJYcm8OnZdToz0zufQ@mail.gmail.com>
Date: Sun, 13 Apr 2025 22:30:58 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Tamir Duberstein <tamird@...il.com>
Cc: Miguel Ojeda <ojeda@...nel.org>, 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 <benno.lossin@...ton.me>, Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>, Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] rust: check type of `$ptr` in `container_of!`
On Sat, Apr 12, 2025 at 8:16 PM Tamir Duberstein <tamird@...il.com> wrote:
>
> ; diff --git a/rust/kernel/rbtree.rs b/rust/kernel/rbtree.rs
I am curious, what is the reason for the `;` notation? If is it to
avoid issues with the `diff` marker, then I think indenting with 4
spaces as usual would work.
Thanks!
Cheers,
Miguel
Powered by blists - more mailing lists