Skip to content

Commit

Permalink
[rename] get_mut to assume_init_mut
Browse files Browse the repository at this point in the history
  • Loading branch information
PG-MANA committed Sep 4, 2020
1 parent bf6daef commit 94008d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel/manager_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ pub struct KernelManagerCluster {
#[inline(always)]
pub fn get_kernel_manager_cluster() -> &'static mut KernelManagerCluster {
/* You must assign new struct before use the structs!! */
unsafe { STATIC_KERNEL_MANAGER_CLUSTER.get_mut() }
unsafe { STATIC_KERNEL_MANAGER_CLUSTER.assume_init_mut() }
}

0 comments on commit 94008d6

Please sign in to comment.