mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-15 15:16:51 +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:
parent
2a1ba6eeff
commit
cd5705674a
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user