mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-05 01:55:31 +02:00
Tighten language
This commit is contained in:
parent
d15a653ed8
commit
e43dec24fd
@ -14,7 +14,7 @@ fn main() {
|
|||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
|
||||||
* It might be worth pointing out quickly that due to type inference the `i32` is optional
|
* Due to type inference the `i32` is optional. We will gradually show the types less and less as the type progresses.
|
||||||
* Note that since `println!` is a macro, x is not moved, even using the function like syntax of `println!("x: {}", x)`
|
* Note that since `println!` is a macro, `x` is not moved, even using the function like syntax of `println!("x: {}", x)`
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user