Skip to content

Commit a6f3053

Browse files
author
Jorge Aparicio
committed
rustc_back: unbox closures used in let bindings
1 parent 06408b4 commit a6f3053

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_back/target

1 file changed

+1
-1
lines changed

src/librustc_back/target/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl Target {
217217

218218
let handler = diagnostic::default_handler(diagnostic::Auto, None);
219219

220-
let get_req_field = |name: &str| {
220+
let get_req_field = |&: name: &str| {
221221
match obj.find(name)
222222
.map(|s| s.as_string())
223223
.and_then(|os| os.map(|s| s.to_string())) {

0 commit comments

Comments
 (0)