logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

Learning Rust... what does the type "!" mean?

161 points 4rkeN 2024-07-12 16:05:02
View on Reddit ↗

https://preview.redd.it/t4fufy2tq2cd1.png?width=939&format=png&auto=webp&s=755ccd66eb4257f9ffadcf52e5a9e6c3a97fcf19

I just read through the Book Chapter 3.3. I was wondering what would happen when I do this, (since return is an expression?). Can someone explain the "!" type?

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com