Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwaway892654
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
1.
▲
by
throwaway892654
1mo ago
Rust uses affine types, which means that the compiler guarantees that you clean resources (call the destructor) either zero, or one time. If you call it zero times, then the compiler inserts the call to the destructor for you, in which case