mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
auto merge of #15308 : brson/rust/intro, r=alexcrichton
This was asked on HN, and it's easy to clarify.
This commit is contained in:
+1
-1
@@ -252,7 +252,7 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
This will result an error indicating that the value is no longer in scope:
|
||||
The compiler will produce an error indicating that the value is no longer in scope:
|
||||
|
||||
```text
|
||||
concurrency.rs:12:20: 12:27 error: use of moved value: 'numbers'
|
||||
|
||||
Reference in New Issue
Block a user