Skip to content

Conversation

wesleywiser
Copy link
Member

Part of #32777

@rust-highfive
Copy link
Contributor

r? @nrc

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

Copy link
Member

Choose a reason for hiding this comment

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

Could you explain what functional update syntax actually is here. It's not a concept which is obvious from the name.

@wesleywiser
Copy link
Member Author

Rebased

Copy link
Member

Choose a reason for hiding this comment

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

"Bind the type with same y field value"

fn baz(Foo f) -> Foo {
match f {
// Match each variant of the enum and bind each field to a name.
Copy link
Member

Choose a reason for hiding this comment

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

Still not good.

@bors
Copy link
Collaborator

bors commented Apr 26, 2016

☔ The latest upstream changes (presumably #32989) made this pull request unmergeable. Please resolve the merge conflicts.

@alexcrichton
Copy link
Member

Closing due to inactivity, but feel free to reopen with a rebase!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants