|
|
|
|
|
by pornel
2490 days ago
|
|
This article demonstrates that it is overthinking the issue — both approaches are correct and about as fast. For non-copyable structs move vs borrow are semantically different, so the choice is even clearer. With built-in style lints and Clippy, Rust is doing quite well in keeping codebases simple and idiomatic. |
|