mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
remove hidden use of Global
This commit is contained in:
parent
71a7b66f20
commit
fb8ac06477
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user