You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ended up being bigger than I expected...
This PR mainly does the following:
- Commit 2 expands on
#17096 by cleaning up the
attributes, and cleans up some more.
- `mem_replace.rs` used to test
`mem_replace_{option_with_none,option_with_some,default}`, which
resulted in a rather big and messy file. Commits 4-6 split it into
three.
- Meanwhile, `mem_replace_with_uninit` was tested in a completely
separate file, called `repl_uninit` (?!). Commit 3 renames it and cleans
it up.
As always, see the individual commits for more details.
changelog: [`mem_replace_option_with_some`]: clean-up the lint message
changelog: [`mem_replace_option_with_none`]: clean-up the lint message
changelog: [`mem_replace_with_uninit`]: clean-up the lint message
changelog: [`mem_replace_with_default`]: split off the suggestion from
the main message
0 commit comments