[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250530123129.31505-2-saivishnu725@gmail.com>
Date: Fri, 30 May 2025 18:01:30 +0530
From: saivishnu725@...il.com
To: rust-for-linux@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
ojeda@...nel.org,
alex.gaynor@...il.com,
boqun.feng@...il.com,
gary@...yguo.net,
bjorn3_gh@...tonmail.com,
lossin@...nel.org,
a.hindborg@...nel.org,
aliceryhl@...gle.com,
tmgross@...ch.edu,
dakr@...nel.org,
gregkh@...uxfoundation.org,
daniel.almeida@...labora.com,
me@...enk.dev,
Sai Vishnu M <saivishnu725@...il.com>
Subject: [PATCH] rust: doc: Clean up formatting in io.rs
From: Sai Vishnu M <saivishnu725@...il.com>
Replace `@` with backticks in a comment of `io.rs` to follow Rust doc
convention
Reported-by: Miguel Ojeda <ojeda@...nel.org>
Closes: https://github.com/Rust-for-Linux/linux/issues/1167
Signed-off-by: Sai Vishnu M <saivishnu725@...il.com>
---
rust/kernel/io.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/io.rs b/rust/kernel/io.rs
index 72d80a6f131e..92bc4e3cd8ec 100644
--- a/rust/kernel/io.rs
+++ b/rust/kernel/io.rs
@@ -43,7 +43,7 @@ pub fn maxsize(&self) -> usize {
}
}
-/// IO-mapped memory, starting at the base address @addr and spanning @maxlen bytes.
+/// IO-mapped memory, starting at the base address `addr` and spanning `maxlen` bytes.
///
/// The creator (usually a subsystem / bus such as PCI) is responsible for creating the
/// mapping, performing an additional region request etc.
--
2.49.0
Powered by blists - more mailing lists