diff --git a/programs/bpf_loader/src/syscalls/mod.rs b/programs/bpf_loader/src/syscalls/mod.rs index 3857120d562b7a..d83bc1fbe98da6 100644 --- a/programs/bpf_loader/src/syscalls/mod.rs +++ b/programs/bpf_loader/src/syscalls/mod.rs @@ -253,7 +253,7 @@ impl<'a, T> VmSlice<'a, T> { } } - // Returns a slice using a mapped physical address + /// Returns a slice using a mapped physical address pub fn translate(&self) -> Result<&'a [T], Error> { translate_slice::(self.memory_mapping, self.ptr, self.len, false) }