]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: io: fix broken intra-doc link to missing `flags` module
authorMiguel Ojeda <ojeda@kernel.org>
Tue, 22 Jul 2025 08:54:59 +0000 (10:54 +0200)
committerDanilo Krummrich <dakr@kernel.org>
Tue, 22 Jul 2025 09:08:59 +0000 (11:08 +0200)
commit83fb6160727874a588d70b727bc34f367362e6ed
treef294eb98a6a0080e61148f0c72f535627f73add8
parent696b2a6ce9487ae278fd239658ca2714cd211e8e
rust: io: fix broken intra-doc link to missing `flags` module

There is no `mod flags` in this case, unlike others. Instead, they are
associated constants for the `Flags` type.

Thus reword the sentence to fix the broken intra-doc link, providing
an example of constant and linking to it to clarify which ones we are
referring to.

Fixes: 493fc33ec252 ("rust: io: add resource abstraction")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://lore.kernel.org/r/20250722085500.1360401-1-ojeda@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/io/resource.rs