mem_replace_option_with_some
`mem::replace(opt, Some(v))` can be replaced by `opt.replace(v)`. Close #14195 changelog: [`mem_replace_option_with_some`]: new lint
51d49c1ae2
fdb84cbfd2
This is the source for the Clippy Book. See the book for more information.