]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #5448 - Emerentius:update_new_ret_no_self_docs, r=phansch
authorbors <bors@rust-lang.org>
Mon, 13 Apr 2020 20:32:44 +0000 (20:32 +0000)
committerbors <bors@rust-lang.org>
Mon, 13 Apr 2020 20:32:44 +0000 (20:32 +0000)
Update documentation for new_ret_no_self

changelog: Update documentation for lint new_ret_no_self to reflect that the return type must only contain `Self`, not be `Self`

The lint was changed to be more lenient than the documentation implies in PR #3338 (Related issue #3313)

1  2 
clippy_lints/src/methods/mod.rs

Simple merge