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>
This commit is contained in:
Marko Turk 2026-01-05 22:37:42 +01:00 committed by Danilo Krummrich
parent 7bf97992af
commit 31bc0aade4

View file

@ -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> {