mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06:48 +00:00
Add the default mark type for LockedXArray
This commit is contained in:
parent
c519db518f
commit
ac1de89d31
@ -192,7 +192,7 @@ impl<P: NonNullPtr + Sync + Send, M> Drop for XArray<P, M> {
|
||||
///
|
||||
/// The locked `XArray` is able to create `CursorMut` and do mutable operations.
|
||||
/// There can only be one locked `XArray` at the same time.
|
||||
pub struct LockedXArray<'a, P, M, G = PreemptDisabled>
|
||||
pub struct LockedXArray<'a, P, M = NoneMark, G = PreemptDisabled>
|
||||
where
|
||||
P: NonNullPtr + Send + Sync,
|
||||
G: SpinGuardian,
|
||||
|
Loading…
x
Reference in New Issue
Block a user