Skip to contentSkip to conversation

rust: list: Fix typo `much` in arc.rs

PATCH Applied Sylvan Smit 3 participants 3 messages May 29, 2025 Rust

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rust: list: Fix typo `much` in arc.rs

Correct the typo (s/much/must) in the ListArc documentation.

Fixes a48026315cd7 ("rust: list: add tracking for ListArc")
---
 rust/kernel/list/arc.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
rust/kernel/list/arc.rs +1 -1
index 8401ddcd178a..d92bcf665c89 100644
@@ -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
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Sylvan Smit

Correct the typo (s/much/must) in the ListArc documentation.

Fixes a48026315cd7 ("rust: list: add tracking for ListArc")

---
Cheers,
Benno

Quoted 3 lines
---
 rust/kernel/list/arc.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)