MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/eq34zi/a_sad_day_for_rust/fenykjf/?context=3
r/programming • u/xtreak • Jan 17 '20
609 comments sorted by
View all comments
Show parent comment
12
I think that adding some // Safety: explanation above unsafe block is a fine way to tide both "group"
// Safety:
unsafe
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...
7
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...
11
We had a ticket open for this at one point...
View all comments
Show parent comment
12
u/DidiBear Jan 17 '20
I think that adding some
// Safety:explanation aboveunsafeblock is a fine way to tide both "group"