Skip to content

Commit d8a5242

Browse files
committed
Rename json::List to json::Array
Fixes #19010
1 parent 01b4c04 commit d8a5242

File tree

3 files changed

+129
-129
lines changed

3 files changed

+129
-129
lines changed

src/librustc_back/target/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ impl Target {
250250
} );
251251
($key_name:ident, list) => ( {
252252
let name = (stringify!($key_name)).replace("_", "-");
253-
obj.find(name[]).map(|o| o.as_list()
253+
obj.find(name[]).map(|o| o.as_array()
254254
.map(|v| base.options.$key_name = v.iter()
255255
.map(|a| a.as_string().unwrap().to_string()).collect()
256256
)

0 commit comments

Comments
 (0)