remove hidden use of Global

This commit is contained in:
Alexander 2024-03-01 11:51:28 +00:00
parent 71a7b66f20
commit fb8ac06477

View File

@ -180,7 +180,7 @@ pub struct BTreeMap<
/// `ManuallyDrop` to control drop order (needs to be dropped after all the nodes).
pub(super) alloc: ManuallyDrop<A>,
// For dropck; the `Box` avoids making the `Unpin` impl more strict than before
_marker: PhantomData<crate::boxed::Box<(K, V)>>,
_marker: PhantomData<crate::boxed::Box<(K, V), A>>,
}
#[stable(feature = "btree_drop", since = "1.7.0")]