From cd5705674aa95ea0a6af3fedafd11fd39a82045e Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Sun, 13 Aug 2023 15:24:57 +0200 Subject: [PATCH] Remove confusing text in variables.md (#1070) We have not yet talked about copy/move here, so the notes were confusing. Fixes #519. --- src/basic-syntax/variables.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/basic-syntax/variables.md b/src/basic-syntax/variables.md index 6c2ebb03..82ec653a 100644 --- a/src/basic-syntax/variables.md +++ b/src/basic-syntax/variables.md @@ -15,6 +15,5 @@ fn main() {
* 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)`