Skip to content

Commit fbda869

Browse files
committed
Add a couple more sync impls to mini_core
1 parent 454c87b commit fbda869

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example/mini_core.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ unsafe impl Sync for i16 {}
9090
unsafe impl Sync for i32 {}
9191
unsafe impl Sync for isize {}
9292
unsafe impl Sync for char {}
93+
unsafe impl Sync for f32 {}
9394
unsafe impl<'a, T: ?Sized> Sync for &'a T {}
94-
unsafe impl Sync for [u8; 16] {}
95+
unsafe impl<T: Sync, const N: usize> Sync for [T; N] {}
9596

9697
#[lang = "freeze"]
9798
unsafe auto trait Freeze {}

0 commit comments

Comments
 (0)