infer: remove superfluous call to try()

This commit is contained in:
Philipp Brüschweiler 2013-06-06 11:52:33 +02:00
parent 7ce700aa65
commit 13df1198d5

View File

@ -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
}