Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove incorrect Default::default links, add a new one #47497

Merged
merged 1 commit into from
Jan 17, 2018

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
Collaborator

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
Contributor

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