diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-04-02 16:44:47 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-04-19 19:53:54 +1000 |
| commit | 58217bc996564965d3362ca3010a272b39e229f6 (patch) | |
| tree | 93a178f13ac71e43f253d4b992636da87ecbe218 /src/test/rustdoc-ui/coverage/json.rs | |
| parent | b9bcddc5276c97f8d66f637ae84658b37fbb4957 (diff) | |
| download | rust-58217bc996564965d3362ca3010a272b39e229f6.tar.gz rust-58217bc996564965d3362ca3010a272b39e229f6.zip | |
Replace uses of `parse_opt_*` with `parse_*` where possible.
This lets us specify the default at the options declaration point, instead of using `.unwrap(default)` or `None | Some(default)` at some use point far away. It also makes the code more concise.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
