Перейти к основному содержимому
0

Этот урок пока на английском.

Everything is an expression

In Rust a function body, an if and even a loop can produce a value. Once you see that, functions and control flow become short and clear.