Skip to content

Commit 7a17bbc

Browse files
Sylvan Smitojeda
authored andcommitted
rust: list: Fix typo much in arc.rs
Correct the typo (s/much/must) in the ListArc documentation. Reported-by: Miguel Ojeda <ojeda@kernel.org> Closes: Rust-for-Linux#1166 Fixes: a480263 ("rust: list: add tracking for ListArc") Signed-off-by: Sylvan Smit <sylvan@sylvansmit.com> Reviewed-by: Benno Lossin <lossin@kernel.org> 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 <ojeda@kernel.org>
1 parent b20fbbc commit 7a17bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/list/arc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub unsafe trait TryNewListArc<const ID: u64 = 0>: ListArcSafe<ID> {
7474
///
7575
/// * The `untracked` strategy does not actually keep track of whether a [`ListArc`] exists. When
7676
/// using this strategy, the only way to create a [`ListArc`] is using a [`UniqueArc`].
77-
/// * The `tracked_by` strategy defers the tracking to a field of the struct. The user much specify
77+
/// * The `tracked_by` strategy defers the tracking to a field of the struct. The user must specify
7878
/// which field to defer the tracking to. The field must implement [`ListArcSafe`]. If the field
7979
/// implements [`TryNewListArc`], then the type will also implement [`TryNewListArc`].
8080
///

0 commit comments

Comments
 (0)