Skip to content

Commit ed42405

Browse files
committed
Fix typo
1 parent 55add43 commit ed42405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_typeck/src/check/coercion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
996996
}
997997
if prev_sig.unsafety() != new_sig.unsafety() {
998998
prev_sig = prev_sig.map_bound(|sig| ty::FnSig { unsafety: hir::Unsafety::Unsafe, ..sig });
999-
new_sig = new_sig.map_bound(|sig| ty::FnSig { unsafety: hir::Unsafety::Unsafe, ..sig });=
999+
new_sig = new_sig.map_bound(|sig| ty::FnSig { unsafety: hir::Unsafety::Unsafe, ..sig });
10001000
}
10011001
}
10021002
(Some(prev_sig), Some(new_sig))

0 commit comments

Comments
 (0)