summaryrefslogtreecommitdiff
path: root/rust/kernel/seq_file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/kernel/seq_file.rs')
-rw-r--r--rust/kernel/seq_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/seq_file.rs b/rust/kernel/seq_file.rs
index efc4dd09850a..7a9403eb6e5b 100644
--- a/rust/kernel/seq_file.rs
+++ b/rust/kernel/seq_file.rs
@@ -18,7 +18,7 @@ impl SeqFile {
///
/// # Safety
///
- /// The caller must ensure that for the duration of 'a the following is satisfied:
+ /// The caller must ensure that for the duration of `'a` the following is satisfied:
/// * The pointer points at a valid `struct seq_file`.
/// * The `struct seq_file` is not accessed from any other thread.
pub unsafe fn from_raw<'a>(ptr: *mut bindings::seq_file) -> &'a SeqFile {