Y
Hacker News
new
|
ask
|
show
|
jobs
by
charlotte-fyi
480 days ago
The important note here is that you can't rely on Drop running in order to satisfy the SAFETY comment of an unsafe block. In practice, in safe Rust, this knowledge shouldn't really change how you write your code.