Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

1. I've never had to use PhantomData since I started coding in rust pretty much fulltime 2 years ago. 2. You can compare arrays longer than 32, but the compiler will no longer create an automatic comparison for you. So it's not that you "can't" do it. -- That said, using == to compare >32 elements sounds inefficient, perhaps check your use-case?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: