Skip to content

Commit 2b5aa90

Browse files
committed
review feedback: fix indentation of pattern candidates to match code elsewhere in file.
1 parent 98d5e13 commit 2b5aa90

File tree

1 file changed

+3
-3
lines changed
  • src/librustc_mir/borrow_check

1 file changed

+3
-3
lines changed

src/librustc_mir/borrow_check/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1698,9 +1698,9 @@ impl<'cx, 'gcx, 'tcx> MirBorrowckCtxt<'cx, 'gcx, 'tcx> {
16981698
let mut error_reported = false;
16991699
match kind {
17001700
Reservation(WriteKind::MutableBorrow(borrow_kind @ BorrowKind::Unique))
1701-
| Reservation(WriteKind::MutableBorrow(borrow_kind @ BorrowKind::Mut { .. }))
1702-
| Write(WriteKind::MutableBorrow(borrow_kind @ BorrowKind::Unique))
1703-
| Write(WriteKind::MutableBorrow(borrow_kind @ BorrowKind::Mut { .. })) =>
1701+
| Reservation(WriteKind::MutableBorrow(borrow_kind @ BorrowKind::Mut { .. }))
1702+
| Write(WriteKind::MutableBorrow(borrow_kind @ BorrowKind::Unique))
1703+
| Write(WriteKind::MutableBorrow(borrow_kind @ BorrowKind::Mut { .. })) =>
17041704
{
17051705
let is_local_mutation_allowed = match borrow_kind {
17061706
BorrowKind::Unique => LocalMutationIsAllowed::Yes,

0 commit comments

Comments
 (0)