summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorThomas Hurst <tom@hur.st>2018-09-04 22:29:04 +0100
committerKartikaya Gupta (kats) <staktrace@users.noreply.github.com>2018-09-05 04:05:28 -0400
commit9ee581f8d9d0dd174c54d9c63093c8ed8e68f999 (patch)
tree45be609726f4b97efb9182ca55bdb12c3664c7b3 /target
parentd31ccf10c38bc1e2c97c71102ab6ae1a2161b54b (diff)
Use unwrap_or_else() and unwrap_or_default()
This is particularly good for fallbacks which allocate, like String::new() and "bla".to_string(). len() is mostly to shut up clippy. clippy:or_fun_call
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions