Re:Microsoft is to enable Rust use for Windows 11 kernel
by _flux on Friday April 28, 2023 @10:43AM
(#35741869)
In practical terms the original variable or field will be out of scope after the move (well not really, but that's how effective the checking is).
[ Parent
| on HN ]
Re:Microsoft is to enable Rust use for Windows 11 kernel
by eska on Friday April 28, 2023 @12:22PM
(#35743457)
It’s a heuristic. And it doesn’t catch when your move isn’t really a move. And writing move constructors is difficult busywork.