rust: list: Fix typo `much` in arc.rs
PATCH 1/1 rust: list: Fix typo `much` in arc.rs
Correct the typo (s/much/must) in the ListArc documentation.
Suggested-by Miguel Ojeda <[email protected]>
Fixes a48026315cd7 ("rust: list: add tracking for ListArc")
Signed-off-by Sylvan Smit <[email protected]>
--- rust/kernel/list/arc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/list/arc.rs +1 -1
@@ -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`]. ///
Signature · 1 line
2.49.0
Quoted 6 lines · Sylvan Smit
Correct the typo (s/much/must) in the ListArc documentation.
Suggested-by Miguel Ojeda <[email protected]>Fixes a48026315cd7 ("rust: list: add tracking for ListArc")Signed-off-by Sylvan Smit <[email protected]>
Reviewed-by Benno Lossin <[email protected]>
---
Cheers,
Benno
Quoted 3 lines
--- rust/kernel/list/arc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Miguel Ojeda
AppliedQuoted 7 lines · Sylvan Smit
Correct the typo (s/much/must) in the ListArc documentation.
Suggested-by Miguel Ojeda <[email protected]>Fixes a48026315cd7 ("rust: list: add tracking for ListArc")Signed-off-by Sylvan Smit <[email protected]>
Applied to rust-next -- thanks!
[ Changed tag to "Reported-by" and sorted. - Miguel ]
Cheers,
Miguel