From: Sylvan Smit Date: Thu, 29 May 2025 16:29:23 +0000 (+0200) Subject: rust: list: Fix typo `much` in arc.rs X-Git-Tag: v6.16-rc1~45^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a17bbc1d952057898cb0739e60665908fbb8c72;p=thirdparty%2Fkernel%2Fstable.git rust: list: Fix typo `much` in arc.rs Correct the typo (s/much/must) in the ListArc documentation. Reported-by: Miguel Ojeda Closes: https://github.com/Rust-for-Linux/linux/issues/1166 Fixes: a48026315cd7 ("rust: list: add tracking for ListArc") Signed-off-by: Sylvan Smit Reviewed-by: Benno Lossin Link: https://lore.kernel.org/r/20250529162923.434978-1-sylvan@sylvansmit.com [ Changed tag to "Reported-by" and sorted. - Miguel ] Signed-off-by: Miguel Ojeda --- diff --git a/rust/kernel/list/arc.rs b/rust/kernel/list/arc.rs index 8401ddcd178ac..d92bcf665c891 100644 --- a/rust/kernel/list/arc.rs +++ b/rust/kernel/list/arc.rs @@ -74,7 +74,7 @@ pub unsafe trait TryNewListArc: ListArcSafe { /// /// * 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`]. ///