Skip to content
Commit f6be7af4 authored by Charalampos Mitrodimas's avatar Charalampos Mitrodimas Committed by Miguel Ojeda
Browse files

rust: rbtree: fix comments referring to Box instead of KBox



Several safety comments in the RBTree implementation still refer to
"Box::from_raw" and "Box::into_raw", but the code actually uses KBox.
These comments were not updated when the implementation transitioned
from using Box to KBox.

Fixes: 8373147c ("rust: treewide: switch to our kernel `Box` type")
Signed-off-by: default avatarCharalampos Mitrodimas <charmitro@posteo.net>
Reviewed-by: default avatarBenno Lossin <benno.lossin@proton.me>
Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250315-rbtree-comment-fixes-v1-1-51f72c420ff0@posteo.net


Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 5928642b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment