Moving the kernel to modern C
Moving the kernel to modern C
Posted Feb 28, 2022 11:26 UTC (Mon) by taladar (subscriber, #68407)In reply to: Moving the kernel to modern C by geert
Parent article: Moving the kernel to modern C
It is quite idiomatic in Rust to check a Result<T, E> value and reuse the same name for the content of type T after checking.
The alternative isn't really any better, coming up with extra names for what is logically the same value.
