Rename first argument Option::unwrap_or to default #65492
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
We currently use the definition for
Option::unwrap_or
:I sometimes read
def
asdefine
. It would be clearer for me (and hopefully others!) if it had the following signature:The text was updated successfully, but these errors were encountered: