Skip to content

Commit

Permalink
fix broken doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondyoungberg committed Sep 11, 2024
1 parent 7fe5462 commit 19166a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ impl EntryPointRequest {
}
}

/// Request information about the loaded kernel file. See [`File`](file::File)
/// Request information about the loaded kernel file. See [`File`](crate::file::File)
/// for more information.
///
/// # Usage
Expand Down Expand Up @@ -499,7 +499,7 @@ impl KernelFileRequest {
);
}

/// Request information about the loaded modules. See [`File`](file::File) for
/// Request information about the loaded modules. See [`File`](crate::file::File) for
/// more information.
///
/// Additionally, with revision 1, this request can be used to specify
Expand Down
4 changes: 2 additions & 2 deletions src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,12 @@ impl SmpResponse {
self.bsp_hartid
}

/// Returns a slice of found CPUs. See [`Cpu`] for more information.
/// Returns a slice of found CPUs. See [`Cpu`](smp::Cpu) for more information.
pub fn cpus(&self) -> &[&smp::Cpu] {
unsafe { core::slice::from_raw_parts(self.cpus.cast(), self.cpu_ct as usize) }
}

/// Returns a mutable slice of found CPUs. See [`Cpu`] for more information.
/// Returns a mutable slice of found CPUs. See [`Cpu`](smp::Cpu) for more information.
/// Note that this function takes `&mut self`, so the response will likely
/// need to be wrapped in a `Mutex` or similar. It is provided so that the
/// `extra` field on each CPU can be set.
Expand Down

0 comments on commit 19166a2

Please sign in to comment.