Skip to content

Make debug builders take &mut self, add entries method #25548

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

Merged
merged 3 commits into from
May 19, 2015

Conversation

sfackler
Copy link
Member

@rust-highfive
Copy link
Contributor

r? @huonw

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

@sfackler
Copy link
Member Author

r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned huonw May 17, 2015
@sfackler sfackler force-pushed the debug-builders-by-ref branch from 6920567 to bd85983 Compare May 18, 2015 00:33
}
self
}

/// Consumes the `DebugSet`, finishing output and returning any error
Copy link
Contributor

Choose a reason for hiding this comment

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

No longer consumes I think

@sfackler
Copy link
Member Author

Fixed, thanks

for entry in entries {
self.entry(&entry);
}
self
Copy link
Member

Choose a reason for hiding this comment

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

This could probably even be entries.into_iter().fold(self, |me, a| me.entry(a)), but that's getting somewhat complicated!

@alexcrichton
Copy link
Member

@bors: r+ fb526cf

Thanks!

@bors
Copy link
Collaborator

bors commented May 18, 2015

⌛ Testing commit fb526cf with merge 06367c9...

@bors
Copy link
Collaborator

bors commented May 18, 2015

💔 Test failed - auto-mac-64-nopt-t

@sfackler
Copy link
Member Author

@bors r=alexcrichton e87b353

@bors
Copy link
Collaborator

bors commented May 19, 2015

⌛ Testing commit e87b353 with merge b301e02...

@bors bors merged commit e87b353 into rust-lang:master May 19, 2015
@sfackler sfackler deleted the debug-builders-by-ref branch November 26, 2016 05:53
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