diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-27 20:43:19 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-04-05 15:05:53 +0000 |
| commit | fbda869b4e230c788b6bce426038ba8419956f2d (patch) | |
| tree | c0e3e6fbd204db38d5b76559891d520d4e0cf4a8 | |
| parent | 454c87bdd442636b474d943c0e587750b46d822b (diff) | |
| download | rust-fbda869b4e230c788b6bce426038ba8419956f2d.tar.gz rust-fbda869b4e230c788b6bce426038ba8419956f2d.zip | |
Add a couple more sync impls to mini_core
| -rw-r--r-- | example/mini_core.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/example/mini_core.rs b/example/mini_core.rs index 85b0590809c..e45c16ee280 100644 --- a/example/mini_core.rs +++ b/example/mini_core.rs @@ -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 {} |
