Skip to content

Conversation

goffrie
Copy link
Contributor

@goffrie goffrie commented Jan 16, 2018

map_or and map_or_else don't use Default::default, but unwrap_or_default does.

`map_or` and `map_or_else` don't use `Default::default`, but `unwrap_or_default` does.
@rust-highfive
Copy link
Contributor

r? @dtolnay

(rust_highfive has picked a reviewer for you, use r? to override)

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay
Copy link
Member

dtolnay commented Jan 16, 2018

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Jan 16, 2018

📌 Commit 46c20c0 has been approved by dtolnay

@kennytm kennytm added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Jan 17, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Jan 17, 2018
Remove incorrect `Default::default` links, add a new one

`map_or` and `map_or_else` don't use `Default::default`, but `unwrap_or_default` does.
kennytm added a commit to kennytm/rust that referenced this pull request Jan 17, 2018
Remove incorrect `Default::default` links, add a new one

`map_or` and `map_or_else` don't use `Default::default`, but `unwrap_or_default` does.
bors added a commit that referenced this pull request Jan 17, 2018
@bors bors merged commit 46c20c0 into rust-lang:master Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants