We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afe02eb commit 9f94719Copy full SHA for 9f94719
src/web/mod.rs
@@ -550,15 +550,17 @@ impl MetaData {
550
}
551
552
fn parse_doc_targets(targets: Value) -> Vec<String> {
553
- targets
+ let mut targets = targets
554
.as_array()
555
.map(|array| {
556
array
557
.iter()
558
.filter_map(|item| item.as_str().map(|s| s.to_owned()))
559
.collect()
560
})
561
- .unwrap_or_else(Vec::new)
+ .unwrap_or_else(Vec::new);
562
+ targets.sort_unstable();
563
+ targets
564
565
566
0 commit comments