Skip to content

Commit

Permalink
kernel: actually mark Registry::new() as unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Aug 8, 2024
1 parent 5b28d70 commit a151f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oro-kernel/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ where
///
/// For that reason, this function is `unsafe` and only accessible
/// within the root module.
pub(super) fn new(
pub(super) unsafe fn new(
pfa: &'static UnfairCriticalSpinlock<Alloc>,
translator: P,
segment: <<Target as Arch>::AddressSpace as AddressSpace>::SupervisorSegment,
Expand Down

0 comments on commit a151f62

Please sign in to comment.