mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 18:57:52 +00:00
unsafe keyword docs: emphasize that an unsafe fn in a trait does not get to choose its safety contract Inspired by discussion in https://github.com/rust-lang/rust/issues/139368. Cc `@hanna-kruppe`