mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-05 10:05:39 +02:00
parent
584c957d69
commit
fbd79e36e7
@ -37,11 +37,3 @@ functions:
|
|||||||
|
|
||||||
{{#include exercise.rs:main}}
|
{{#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>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user