You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-16 14:17:34 +02:00
Remove confusing text in variables.md (#1070)
We have not yet talked about copy/move here, so the notes were confusing. Fixes #519.
This commit is contained in:
@ -15,6 +15,5 @@ fn main() {
|
||||
<details>
|
||||
|
||||
* Due to type inference the `i32` is optional. We will gradually show the types less and less as the course progresses.
|
||||
* Note that since `println!` is a macro, `x` is not moved, even using the function like syntax of `println!("x: {}", x)`
|
||||
|
||||
</details>
|
||||
|
Reference in New Issue
Block a user