1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-05 10:05:39 +02:00

Remove incorrect comment about moving arrays (#1547)

Fixes #1546.
This commit is contained in:
Dustin J. Mitchell 2023-12-01 13:37:37 -05:00 committed by GitHub
parent 584c957d69
commit fbd79e36e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,11 +37,3 @@ functions:
{{#include exercise.rs:main}}
```
<details>
The `transpose` function takes its argument by value, but we haven't covered
ownership yet. Try printing a matrix after it has been transposed, to show the
"value has been moved" error, as a preview of ownership and move semantics.
</details>