Skip to content

Commit 5f3cd36

Browse files
Simplify struct instantiation
1 parent 1aeb7a1 commit 5f3cd36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solve/infer/instantiate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ impl InferenceTable {
1515
.map(|u| self.new_parameter_variable(u))
1616
.collect();
1717
debug!("instantiate: vars={:?}", vars);
18-
let mut instantiator = Instantiator { vars: vars };
18+
let mut instantiator = Instantiator { vars };
1919
arg.fold_with(&mut instantiator, 0).expect("")
2020
}
2121
}

0 commit comments

Comments
 (0)