Re: [PATCH] rust: correct documentation comment for rbtree cursor peek_next method
From: Alice Ryhl
Date: Fri Nov 07 2025 - 04:17:25 EST
On Fri, Nov 07, 2025 at 02:47:16AM +0000, Hang Shu wrote:
> From: Hang Shu <hangshu847@xxxxxxxxx>
>
> The peek_next method's doc comment incorrectly stated it accesses the
> "previous" node when it actually accesses the next node. This commit
> fixes the documentation to accurately reflect the method's behavior.
>
> Fixes: 98c14e40e07a ("rust: rbtree: add cursor")
> Signed-off-by: Hang Shu <hangshu847@xxxxxxxxx>
I shared a Reviewed-by tag for the first version, so please include it
in the commit message when sending a new version. That way, I don't have
to review the same code twice.
Also, this should say [PATCH v2] in the subject since it's version 2 of
this patch.
Alice