70 %
Chris Biscardi

What is the parentheses () operator thingy in Rust and why is it expected

The Unit type and value in Rust.

rust
error[E0308]: mismatched types
--> src/main.rs:7:5
|
6 | fn return_two() {
| - possibly return type missing here?
7 | 2
| ^ expected `()`, found integer