Add a couple more sync impls to mini_core
This commit is contained in:
parent
454c87bdd4
commit
fbda869b4e
@ -90,8 +90,9 @@ unsafe impl Sync for i16 {}
|
|||||||
unsafe impl Sync for i32 {}
|
unsafe impl Sync for i32 {}
|
||||||
unsafe impl Sync for isize {}
|
unsafe impl Sync for isize {}
|
||||||
unsafe impl Sync for char {}
|
unsafe impl Sync for char {}
|
||||||
|
unsafe impl Sync for f32 {}
|
||||||
unsafe impl<'a, T: ?Sized> Sync for &'a T {}
|
unsafe impl<'a, T: ?Sized> Sync for &'a T {}
|
||||||
unsafe impl Sync for [u8; 16] {}
|
unsafe impl<T: Sync, const N: usize> Sync for [T; N] {}
|
||||||
|
|
||||||
#[lang = "freeze"]
|
#[lang = "freeze"]
|
||||||
unsafe auto trait Freeze {}
|
unsafe auto trait Freeze {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user