infer: remove superfluous call to try()
This commit is contained in:
parent
7ce700aa65
commit
13df1198d5
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user