about summary refs log tree commit diff
path: root/src/liballoc/alloc
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2020-02-07 13:59:43 +0800
committerBrian Anderson <andersrb@gmail.com>2020-02-07 14:08:24 +0800
commit8251e12950159c5802dd3995b14be7cf4fa99acd (patch)
tree177c908c8430b6db3de38d8245f90f52b3a8bcb4 /src/liballoc/alloc
parentdb9b578b71190540cfd84f16f5d310d6ce4cb659 (diff)
downloadrust-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