Skip to content

Commit

Permalink
Add a couple more sync impls to mini_core
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Apr 5, 2024
1 parent 454c87b commit fbda869
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion example/mini_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ unsafe impl Sync for i16 {}
unsafe impl Sync for i32 {}
unsafe impl Sync for isize {}
unsafe impl Sync for char {}
unsafe impl Sync for f32 {}
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"]
unsafe auto trait Freeze {}
Expand Down

0 comments on commit fbda869

Please sign in to comment.