Skip to content

Commit fc5540a

Browse files
committed
Make search_is_somes suggestion MachineApplicable
1 parent dc5423a commit fc5540a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/sugg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ pub fn deref_closure_args<'tcx>(cx: &LateContext<'_>, closure: &'tcx hir::Expr<'
808808
closure_arg_is_type_annotated_double_ref,
809809
next_pos: closure.span.lo(),
810810
suggestion_start: String::new(),
811-
applicability: Applicability::MaybeIncorrect,
811+
applicability: Applicability::MachineApplicable,
812812
};
813813

814814
let fn_def_id = cx.tcx.hir().local_def_id(closure.hir_id);

0 commit comments

Comments
 (0)