From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E09B2F1FDF for ; Thu, 6 Nov 2025 11:32:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762428740; cv=none; b=IncehKA5RUKAl2HtUxzLimHfpXiI9J2jrxx98budmeQzFq1kGqtqTpFGeNygdlkPWAT8gMia3eCqRH0lpb9Pb823ItyanjwmPIDF39x2SVajQpFmPj4PuT8PWtxQUlmmUWMtAr1QAkbTsNeV6T96jhwUxR8cS1OX/jm/+WbxE7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762428740; c=relaxed/simple; bh=8PJUiAxMn07nrgsxR/0urCL5MfqhEEgeM7+TpUdG1lc=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=S6CbwAVSNXSvBwcwgBjMCCiU+akuNjgt1ijNzcqt8olEzYVgFiDJvDWiCJvZa90ixS5F1MhG4pbfWCr2BZPIhc2jokhwtao2wkN9QppLCDvA0M4iaUNRuo5tDQ8/W9GhNMkjRn+poAPD1JnI66xLDfgtBAcAglJxiQ9yQycSL6Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=WEtydfwk; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="WEtydfwk" Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-4775e54a70aso8153585e9.0 for ; Thu, 06 Nov 2025 03:32:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1762428737; x=1763033537; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=pI4KxVsOrU0xDYslR/Hq61cmr/c2s2itghpzGG80OZ4=; b=WEtydfwkKxsAFoU83hSSnaJ+83+TftsyfCQYOv2ZpV5HBDnMX6O1ZTT27qQoqH/S9h XFSA9/C8iZhoM2jtRDdeiVDCsj+OMKh6H04mkglfBrYJrs4O2eBs3T5MQvfjB84nZBQg ZZJMChybdAVxElm7N6wGCnGPu6CWP7h9LM9SvTXfltlCQhzXfUXiXMVxa/TEJUNyTTvF vgVNsd5EwoEBQXzcjY7RMWmYY2QJaXR9I4QDHgdrew7XYFS1tFXN1djOfPboNJkslqG2 c7jdhCBLcHA9dXWnCb4SZ2jon/rKZqCdQdQ2XguCOHKM67alcza/UfEr62/ZcjRzJlWy A9FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762428737; x=1763033537; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pI4KxVsOrU0xDYslR/Hq61cmr/c2s2itghpzGG80OZ4=; b=h45x/c5lmKJ0SzFZNfPhRgLlzewen9Dgwrx4FAlybkvy4s6ZnPQY+MIDyavKO/zmnH W47RhDmuaQx9y8UfQg81ar4h6gNQDK/TjIROsMywCA9XNo5rvNddTPgAuyXEQ6VwU9eA yDVkQzIAaQTf62qmhhz/ZA8VN9dKfMlYo08B3oCWUtX2DLvqoahd3xgJrUb5egGq2pao eSOjJqbGyZZwjjgUVWlqNBrpA6vBMQUFfKpU3I95UZ5maHJVo41fK8UrkcrbB2rh73eN UMmE5WNhzVLRdJMJY2jL3FbcYqxVR++VauCB5tDyOG0Eh5e6CLSyjgKDLodoBP7bsT72 6lDA== X-Forwarded-Encrypted: i=1; AJvYcCXOYPijwnQpyuGGG0IceSnIicY8rAiRR4LgrlnNNJ059q8p6i2Xujuk1m3WHq3qxbnY4/3hExGZwzXotgg=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+F4bHtrEMWlkGioi3moqu77jowLHnQifEjTI6E+ktMPlvBogU pjJ5ic64VBYyf4EsQMZipmB7BWDTUNXjG9zzNdH/ot+Hfbm1ns3AfTmeMyjrow9khfdDjm3eQai yJxP/ZhTB9Zh23xBupQ== X-Google-Smtp-Source: AGHT+IHHL7QNWakLO+U/Vin4WQXNt+KlP2Dp2qlMK/OrLhzbZjzGufGkPNGVdcItr6+Ft7e8srNqVj1i7yw3M3k= X-Received: from wmco20.prod.google.com ([2002:a05:600c:a314:b0:477:54e1:e29e]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:5252:b0:477:be4:7a52 with SMTP id 5b1f17b1804b1-4775ce34dc4mr51049625e9.39.1762428737530; Thu, 06 Nov 2025 03:32:17 -0800 (PST) Date: Thu, 6 Nov 2025 11:32:16 +0000 In-Reply-To: <20251106112015.214867-1-m18080292938@163.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251106112015.214867-1-m18080292938@163.com> Message-ID: Subject: Re: [PATCH] rust: correct documentation comment for rbtree cursor peek_next method From: Alice Ryhl To: Hang Shu Cc: ojeda@kernel.org, Hang Shu , Alex Gaynor , Boqun Feng , Gary Guo , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Andreas Hindborg , Trevor Gross , Danilo Krummrich , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" On Thu, Nov 06, 2025 at 11:20:14AM +0000, Hang Shu wrote: > From: Hang Shu > > 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. > > Signed-off-by: Hang Shu Thanks. Reviewed-by: Alice Ryhl This should probably have a fixes tag: Fixes: 98c14e40e07a ("rust: rbtree: add cursor") Alice