Skip to content

Commit 76916d7

Browse files
committed
Remove an unnecessary local variable.
1 parent 4ec87d5 commit 76916d7

File tree

1 file changed

+1
-2
lines changed
  • src/librustc_data_structures/obligation_forest

1 file changed

+1
-2
lines changed

src/librustc_data_structures/obligation_forest/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -451,9 +451,8 @@ impl<O: ForestObligation> ObligationForest<O> {
451451
index += 1;
452452
continue;
453453
}
454-
let result = processor.process_obligation(&mut node.obligation);
455454

456-
match result {
455+
match processor.process_obligation(&mut node.obligation) {
457456
ProcessResult::Unchanged => {
458457
// No change in state.
459458
}

0 commit comments

Comments
 (0)