Skip to content

Commit

Permalink
kernel: remove old doc references to arena Handles
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Nov 16, 2024
1 parent 04cd9c0 commit 976f64c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion oro-kernel/src/ring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ use crate::{AddrSpace, Arch, Kernel, UserHandle, instance::Instance};
pub struct Ring<A: Arch> {
/// The resource ID.
id: u64,
/// The parent ring [`Handle`]. `None` if this is the root ring.
/// The parent ring handle, or `None` if this is the root ring.
parent: Option<Weak<Mutex<Ring<A>>>>,
/// The module [`Instance`]s on the ring.
pub(super) instances: Vec<Arc<Mutex<Instance<A>>>>,
Expand Down
2 changes: 1 addition & 1 deletion oro-kernel/src/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl<A: Arch> Thread<A> {
self.id
}

/// Returns module instance [`Handle`] to which this thread belongs.
/// Returns module instance handle to which this thread belongs.
pub fn instance(&self) -> Arc<Mutex<Instance<A>>> {
self.instance.clone()
}
Expand Down

0 comments on commit 976f64c

Please sign in to comment.