diff options
| author | Brian Anderson <andersrb@gmail.com> | 2020-02-07 13:59:43 +0800 |
|---|---|---|
| committer | Brian Anderson <andersrb@gmail.com> | 2020-02-07 14:08:24 +0800 |
| commit | 8251e12950159c5802dd3995b14be7cf4fa99acd (patch) | |
| tree | 177c908c8430b6db3de38d8245f90f52b3a8bcb4 /src/liballoc/alloc | |
| parent | db9b578b71190540cfd84f16f5d310d6ce4cb659 (diff) | |
| download | rust-8251e12950159c5802dd3995b14be7cf4fa99acd.tar.gz rust-8251e12950159c5802dd3995b14be7cf4fa99acd.zip | |
Don't use the word 'unwrap' to describe core unwrapping functions
It's tautological, and Rust-specific Jargon. This changes various Option/Result methods to consistently describe unwrapping behavior using the words "return", "contain", "consume". It also renames the closure argument of `Return::unwrap_or_else` to `default` to be consistent with `Option`.
Diffstat (limited to 'src/liballoc/alloc')
0 files changed, 0 insertions, 0 deletions
