]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #7255 - whatisaphone:feat/similar-names-wparam-lparam, r=giraffate
authorbors <bors@rust-lang.org>
Mon, 24 May 2021 00:20:17 +0000 (00:20 +0000)
committerbors <bors@rust-lang.org>
Mon, 24 May 2021 00:20:17 +0000 (00:20 +0000)
Allow wparam and lparam in similar_names

`wparam` and `lparam` are often used as generic parameter names in win32 (for example [WindowProc](https://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/ms633573(v=vs.85))). This PR adds them to the similar_names exception list.

changelog: [`similar_names`] don't treat wparam and lparam as similar


Trivial merge