From 13df1198d57269ec71ae991f9c88cf44955c457e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Br=C3=BCschweiler?= Date: Thu, 6 Jun 2013 11:52:33 +0200 Subject: [PATCH] infer: remove superfluous call to try() --- src/librustc/middle/typeck/infer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/middle/typeck/infer/mod.rs b/src/librustc/middle/typeck/infer/mod.rs index 00e5415e041..b791abb0ed2 100644 --- a/src/librustc/middle/typeck/infer/mod.rs +++ b/src/librustc/middle/typeck/infer/mod.rs @@ -610,7 +610,7 @@ impl InferCtxt { debug!("probe()"); do indent { let snapshot = self.start_snapshot(); - let r = self.try(f); + let r = f(); self.rollback_to(&snapshot); r }