From 76916d7a4b948119de05135e8d797cf0d40bfd58 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Fri, 6 Dec 2019 13:41:07 +1100 Subject: [PATCH] Remove an unnecessary local variable. --- src/librustc_data_structures/obligation_forest/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/librustc_data_structures/obligation_forest/mod.rs b/src/librustc_data_structures/obligation_forest/mod.rs index 0f893252671..0ee751d33c9 100644 --- a/src/librustc_data_structures/obligation_forest/mod.rs +++ b/src/librustc_data_structures/obligation_forest/mod.rs @@ -451,9 +451,8 @@ impl ObligationForest { index += 1; continue; } - let result = processor.process_obligation(&mut node.obligation); - match result { + match processor.process_obligation(&mut node.obligation) { ProcessResult::Unchanged => { // No change in state. }