Skip to content

Commit

Permalink
auto merge of #19114 : frewsxcv/rust/master, r=bstrie
Browse files Browse the repository at this point in the history
Fixes #19010
  • Loading branch information
bors committed Nov 21, 2014
2 parents f530aa0 + ef5acff commit 97c043b
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 129 deletions.
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ Cole Mickens <[email protected]>
Colin Davidson <[email protected]>
Colin Sherratt <[email protected]>
Conrad Kleinespel <[email protected]>
Corey Farwell <[email protected]>
Corey Ford <[email protected]>
Corey Richardson <[email protected]>
DJUrsus <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_back/target/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ impl Target {
} );
($key_name:ident, list) => ( {
let name = (stringify!($key_name)).replace("_", "-");
obj.find(name[]).map(|o| o.as_list()
obj.find(name[]).map(|o| o.as_array()
.map(|v| base.options.$key_name = v.iter()
.map(|a| a.as_string().unwrap().to_string()).collect()
)
Expand Down
Loading

0 comments on commit 97c043b

Please sign in to comment.