Closed
Description
I am using clippy 0.1.55 (88539999 2021-07-06)
.
The suggestion given for:
let t1 = match type_section.types()[1] {
Type::Function(ref func_type) => func_type
};
is:
let Type::Function(t1) = type_section.types()[1];
it should actually include the ref
:
let Type::Function(ref t1) = type_section.types()[1];
Metadata
Metadata
Assignees
Labels
No labels