Rust for Linux List
 help / color / mirror / Atom feed
* [PATCH] rust: list: Fix typo `much` in arc.rs
@ 2025-05-29 16:29 Sylvan Smit
  2025-05-29 16:32 ` Benno Lossin
  2025-05-29 21:39 ` Miguel Ojeda
  0 siblings, 2 replies; 3+ messages in thread
From: Sylvan Smit @ 2025-05-29 16:29 UTC (permalink / raw)
  To: rust-for-linux, linux-kernel; +Cc: Sylvan Smit, Miguel Ojeda

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-29 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-29 16:29 [PATCH] rust: list: Fix typo `much` in arc.rs Sylvan Smit
2025-05-29 16:32 ` Benno Lossin
2025-05-29 21:39 ` Miguel Ojeda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox