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

Yes, primitive types all implement Copy.

Maybe playing around with the code would help you better, because that last line doesn't make any sense: https://play.rust-lang.org/?version=stable&mode=debug&editio...



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

Search: