Closed
Description
In #4945, the option_as_ref_deref
lint was added. This lint should be enhanced, so that it also detects:
opt.as_ref().map(|x| &**x)
Originally posted by @Areredify in #4945 (comment)
In #4945, the option_as_ref_deref
lint was added. This lint should be enhanced, so that it also detects:
opt.as_ref().map(|x| &**x)
Originally posted by @Areredify in #4945 (comment)