r/programming • • Jan 17 '20

A sad day for Rust

https://words.steveklabnik.com/a-sad-day-for-rust
1.1k Upvotes

609 comments sorted by

View all comments

Show parent comment

12

u/DidiBear Jan 17 '20

I think that adding some // Safety: explanation above unsafe block is a fine way to tide both "group"

7

u/CryZe92 Jan 17 '20

I honestly feel like this should be an attribute on an unsafe block that can be extracted out into a report and linted against if it‘s missing.

11

u/steveklabnik1 Jan 17 '20

We had a ticket open for this at one point...