mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-10-01 06:20:34 +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"
|
||||
optional = true
|
||||
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> stable_deref_trait::StableDeref for Box<T> {}
|
||||
|
||||
impl<A> AsSlice for Box<A>
|
||||
where
|
||||
A: AsSlice,
|
||||
|
Loading…
x
Reference in New Issue
Block a user