Fix broken link in documentation
This commit is contained in:
parent
6cf28751c6
commit
e192579405
|
|
@ -127,6 +127,8 @@ impl VmSpace {
|
|||
/// Query about the mapping information about a byte in virtual memory.
|
||||
/// This is more handy than [`query_range`], but less efficient if you want
|
||||
/// to query in a batch.
|
||||
///
|
||||
/// [`query_range`]: VmSpace::query_range
|
||||
pub fn query(&self, vaddr: Vaddr) -> Result<Option<PageProperty>> {
|
||||
if !(0..MAX_USERSPACE_VADDR).contains(&vaddr) {
|
||||
return Err(Error::AccessDenied);
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ impl !Sync for Waiter {}
|
|||
|
||||
/// A waker that can wake up the associated [`Waiter`].
|
||||
///
|
||||
/// A waker can be created by calling [`Waiter::new`]. This method creates an `Arc<Waker>` that can
|
||||
/// A waker can be created by calling [`Waiter::new_pair`]. This method creates an `Arc<Waker>` that can
|
||||
/// be used across different threads.
|
||||
pub struct Waker {
|
||||
has_woken: AtomicBool,
|
||||
|
|
|
|||
Loading…
Reference in New Issue