]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #7856 - Manishearth:impl-safety, r=xFrednet
authorbors <bors@rust-lang.org>
Thu, 21 Oct 2021 21:51:24 +0000 (21:51 +0000)
committerbors <bors@rust-lang.org>
Thu, 21 Oct 2021 21:51:24 +0000 (21:51 +0000)
missing_safety_doc: Handle 'implementation safety' headers as well

We hit some FPs on this in `yoke`, it's somewhat normal to mark trait impl safety with "implementation safety". We could also broaden the check for headers which contain the word "safety" somehow, or split out impl safety stuff to only apply to traits.

changelog: handle 'implementation safety' headers in `missing_safety_doc`


Trivial merge