You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-08-15 04:52:43 +02:00
@@ -34,3 +34,5 @@ fn main() {
|
|||||||
println!("doubled: {}", double(7));
|
println!("doubled: {}", double(7));
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
However if the last expression ends with `;`, then the resulting value and type is `()`.
|
||||||
|
Reference in New Issue
Block a user