summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorMarko Turk <mt@markoturk.info>2026-01-05 22:37:42 +0100
committerDanilo Krummrich <dakr@kernel.org>2026-01-06 21:44:58 +0100
commit31bc0aade4e03a056a6b568571e59d3783c97ffc (patch)
treeedc17d1579c74dd14a62263fc1d3ca6cb9472961 /rust
parent7bf97992afa4e815f4ed84638340e2a93de65504 (diff)
downloadlinux-31bc0aade4e03a056a6b568571e59d3783c97ffc.tar.gz
linux-31bc0aade4e03a056a6b568571e59d3783c97ffc.zip
rust: io: remove square brackets from pci::Bar reference
Remove square brackets since this section is not a part of doc-comment so the reference will not be converted to a link in the generated docs. Suggested-by: Danilo Krummrich <dakr@kernel.org> Signed-off-by: Marko Turk <mt@markoturk.info> Link: https://patch.msgid.link/20260105213726.73000-1-mt@markoturk.info Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust')
-rw-r--r--rust/kernel/io.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/io.rs b/rust/kernel/io.rs
index 98e8b84e68d1..a97eb44a9a87 100644
--- a/rust/kernel/io.rs
+++ b/rust/kernel/io.rs
@@ -87,7 +87,7 @@ impl<const SIZE: usize> IoRaw<SIZE> {
/// };
/// use core::ops::Deref;
///
-/// // See also [`pci::Bar`] for a real example.
+/// // See also `pci::Bar` for a real example.
/// struct IoMem<const SIZE: usize>(IoRaw<SIZE>);
///
/// impl<const SIZE: usize> IoMem<SIZE> {