mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-10-02 06:50:32 +00:00
Merge #145
145: Made Box StableDeref r=japaric a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
This commit is contained in:
commit
e3f02b06b2
@ -37,3 +37,7 @@ hash32 = "0.1.0"
|
|||||||
version = "1"
|
version = "1"
|
||||||
optional = true
|
optional = true
|
||||||
default-features = false
|
default-features = false
|
||||||
|
|
||||||
|
[dependencies.stable_deref_trait]
|
||||||
|
version = "1"
|
||||||
|
default-features = false
|
||||||
|
@ -375,6 +375,8 @@ unsafe impl<T, S> Send for Box<T, S> where T: Send {}
|
|||||||
|
|
||||||
unsafe impl<T, S> Sync for Box<T, S> where T: Sync {}
|
unsafe impl<T, S> Sync for Box<T, S> where T: Sync {}
|
||||||
|
|
||||||
|
unsafe impl<T> stable_deref_trait::StableDeref for Box<T> {}
|
||||||
|
|
||||||
impl<A> AsSlice for Box<A>
|
impl<A> AsSlice for Box<A>
|
||||||
where
|
where
|
||||||
A: AsSlice,
|
A: AsSlice,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user