Add the default mark type for LockedXArray

This commit is contained in:
Chen Chengjun 2025-04-21 10:48:25 +08:00 committed by Tate, Hongliang Tian
parent c519db518f
commit ac1de89d31

View File

@ -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,