X
https://twitter.com/ekuber/status/1457076241824026625
·
A random comment made me think: can you use const generics in @rustlang as they exist in nightly today to have compile time support for integers with enforced ranges in construction and operation? As it turns out, you can:
https://t.co/bYGbr0jFRF