Skip to content

Commit d241556

Browse files
committed
Fix conflict
1 parent 0c2a6f8 commit d241556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/option_map_unwrap_or.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub(super) fn check<'tcx>(
5959
};
6060

6161
let map = cx.tcx.hir();
62-
let body = map.body(map.body_owned_by(map.enclosing_body_owner(expr.hir_id)));
62+
let body = map.body_owned_by(map.enclosing_body_owner(expr.hir_id));
6363

6464
// Visit the body, and return if we've found a reference
6565
if reference_visitor.visit_body(body).is_break() {

0 commit comments

Comments
 (0)