Re:Rust-Doom: A Doom renderer in Rust, with no unsafe code
by Gankro on Friday October 30, 2015 @09:31AM
(#10477633)
Technically Rust doesn't have proper linear typing, only affine typing. Destructors give you "basically" linear typing, but there's ways to bypass destructors both explicitly and accidentally (though if memory safety isn't at stake, this isn't a worth worrying about IMO):
https://doc.rust-lang.org/nomicon/leaking.html