You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-16 06:10:26 +02:00
@ -34,3 +34,5 @@ fn main() {
|
||||
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