Hacker News
points by jordan_bonecut 3 days ago | 0 comments
It is different because for many cases you may need to prove your assertions. Consider:

fn foo(x: usize) -> NonZero where x != 5 { NonZero::new(x - 5) }

I do not believe this is achievable in Rust.

Aún no hay comentarios.
Hacker News