Skip to content

Commit

Permalink
Iterator::collect should ideally support conversions chromium#425
Browse files Browse the repository at this point in the history
  • Loading branch information
amulya888 committed Jan 1, 2024
1 parent 72b7008 commit 03c5acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subdoc/subdoc_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ int main(int argc, const char** argv) {
}
run_options.macro_prefixes =
sus::iter::from_range(option_include_macro_prefixes)
.cloned()
.map(|s| s.to_owned())
.collect<Vec<std::string>>();
run_options.generate_source_links = !option_no_source_links.getValue();
if (option_remove_path_prefix.getNumOccurrences() > 0) {
Expand Down

0 comments on commit 03c5acd

Please sign in to comment.