rust/kernel/list/arc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Correct the typo (s/much/must) in the ListArc documentation.
Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Fixes: a48026315cd7 ("rust: list: add tracking for ListArc")
Closes: https://github.com/Rust-for-Linux/linux/issues/1166
Signed-off-by: Sylvan Smit <sylvan@sylvansmit.com>
---
rust/kernel/list/arc.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/list/arc.rs b/rust/kernel/list/arc.rs
index 8401ddcd178a..d92bcf665c89 100644
--- a/rust/kernel/list/arc.rs
+++ b/rust/kernel/list/arc.rs
@@ -74,7 +74,7 @@ pub unsafe trait TryNewListArc<const ID: u64 = 0>: ListArcSafe<ID> {
///
/// * The `untracked` strategy does not actually keep track of whether a [`ListArc`] exists. When
/// using this strategy, the only way to create a [`ListArc`] is using a [`UniqueArc`].
-/// * The `tracked_by` strategy defers the tracking to a field of the struct. The user much specify
+/// * The `tracked_by` strategy defers the tracking to a field of the struct. The user must specify
/// which field to defer the tracking to. The field must implement [`ListArcSafe`]. If the field
/// implements [`TryNewListArc`], then the type will also implement [`TryNewListArc`].
///
--
2.49.0
On Thu, May 29, 2025 at 6:29 PM Sylvan Smit <sylvan@sylvansmit.com> wrote:
>
> Correct the typo (s/much/must) in the ListArc documentation.
>
> Suggested-by: Miguel Ojeda <ojeda@kernel.org>
> Fixes: a48026315cd7 ("rust: list: add tracking for ListArc")
> Closes: https://github.com/Rust-for-Linux/linux/issues/1166
> Signed-off-by: Sylvan Smit <sylvan@sylvansmit.com>
Applied to `rust-next` -- thanks!
[ Changed tag to "Reported-by" and sorted. - Miguel ]
Cheers,
Miguel
On Thu May 29, 2025 at 6:29 PM CEST, Sylvan Smit wrote:
> Correct the typo (s/much/must) in the ListArc documentation.
>
> Suggested-by: Miguel Ojeda <ojeda@kernel.org>
> Fixes: a48026315cd7 ("rust: list: add tracking for ListArc")
> Closes: https://github.com/Rust-for-Linux/linux/issues/1166
> Signed-off-by: Sylvan Smit <sylvan@sylvansmit.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
---
Cheers,
Benno
> ---
> rust/kernel/list/arc.rs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
© 2016 - 2026 Red Hat, Inc.