logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

I was doing AoC and was wondering why there is a clippy rule for manual_range_contains? Why does it think this is more readable or has any performance benefits? (spoiler just in case)

59 points Attometre 2024-12-03 14:25:04
View on Reddit ↗

https://preview.redd.it/c4wwa703fj4e1.png?width=776&format=png&auto=webp&s=f6cc8f78c6596d81f1af7e8a71d4bd3b0ac21fd0

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