On 09-11-21, 11:57, Miguel Ojeda wrote:
It is a convention used by the standard library and other libraries, and Clippy has lints for both.
For instance, see `Option::unwrap_unchecked` which has both cases: https://doc.rust-lang.org/src/core/option.rs.html#780
Note that you can still find places without the `SAFETY` comment in the standard library, though.
Thanks.