rust: rbtree: fix comments referring to Box instead of KBox
authorCharalampos Mitrodimas <charmitro@posteo.net>
Sat, 15 Mar 2025 21:48:11 +0000 (21:48 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 23 Mar 2025 18:43:02 +0000 (19:43 +0100)
commitf6be7af44525a005f537ca04f24dc56b391f9a8b
tree22e59d9661647e8ced8251fc9600c62ec1f95c69
parent5928642b11cb6aee8f6250c762857e713e7112da
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: 8373147ce496 ("rust: treewide: switch to our kernel `Box` type")
Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250315-rbtree-comment-fixes-v1-1-51f72c420ff0@posteo.net
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/rbtree.rs