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

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

Merged
merged 3 commits into from May 19, 2015

Conversation

Projects
None yet
6 participants
@rust-highfive

This comment has been minimized.

Copy link
Collaborator

rust-highfive commented May 17, 2015

r? @huonw

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

@sfackler

This comment has been minimized.

Copy link
Member Author

sfackler commented May 17, 2015

@rust-highfive rust-highfive assigned alexcrichton and unassigned huonw May 17, 2015

@sfackler sfackler force-pushed the sfackler:debug-builders-by-ref branch from 6920567 to bd85983 May 18, 2015

}
self
}

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

This comment has been minimized.

@liigo

liigo May 18, 2015

Contributor

No longer consumes I think

@@ -96,7 +96,7 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> {
/// Consumes the `DebugStruct`, finishing output and returning any error

This comment has been minimized.

@liigo

liigo May 18, 2015

Contributor

And here, no longer consumes I think

@@ -159,7 +159,7 @@ impl<'a, 'b: 'a> DebugTuple<'a, 'b> {
/// Consumes the `DebugTuple`, finishing output and returning any error

This comment has been minimized.

@liigo

liigo May 18, 2015

Contributor

Here

@sfackler

This comment has been minimized.

Copy link
Member Author

sfackler commented May 18, 2015

Fixed, thanks

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

This comment has been minimized.

@alexcrichton

alexcrichton May 18, 2015

Member

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

@alexcrichton

This comment has been minimized.

Copy link
Member

alexcrichton commented May 18, 2015

@bors: r+ fb526cf

Thanks!

@bors

This comment has been minimized.

Copy link
Contributor

bors commented May 18, 2015

⌛️ Testing commit fb526cf with merge 06367c9...

@bors

This comment has been minimized.

Copy link
Contributor

bors commented May 18, 2015

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

@sfackler

This comment has been minimized.

Copy link
Member Author

sfackler commented May 19, 2015

@bors r=alexcrichton e87b353

@bors

This comment has been minimized.

Copy link
Contributor

bors commented May 19, 2015

⌛️ Testing commit e87b353 with merge b301e02...

@bors bors merged commit e87b353 into rust-lang:master May 19, 2015

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details

@sfackler sfackler deleted the sfackler:debug-builders-by-ref branch Nov 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.