Open
Description
Replacing .unwrap_or(Vec::new())
with .unwrap_or_default()
doesn't do anything for performance, they produce identical machine code with optimizations: https://rust.godbolt.org/z/hzTdazGqW.
Perhaps the lint category could be changed or it could be changed to not detect cases where it's not actually a performance warning?