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 MutexGuard's Debug implementation more useful. #57703

Merged
merged 2 commits into from
Jan 26, 2019
Merged

Make MutexGuard's Debug implementation more useful. #57703

merged 2 commits into from
Jan 26, 2019

Conversation

m-ou-se
Copy link
Member

@m-ou-se m-ou-se commented Jan 17, 2019

Fixes #57702.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @KodrAus (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 17, 2019
src/libstd/sync/mutex.rs Outdated Show resolved Hide resolved
Just transparently print the guarded data, instead of wrapping it in
`MutexGuard { lock: Mutex { data: ... } }`.
@cramertj
Copy link
Member

@bors r+ rollup

@Centril Centril closed this Jan 25, 2019
@Centril Centril reopened this Jan 25, 2019
@Centril
Copy link
Contributor

Centril commented Jan 25, 2019

Bors is being difficult...

@bors r=cramertj rollup

@bors
Copy link
Contributor

bors commented Jan 25, 2019

📌 Commit 2e9deed has been approved by cramertj

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 25, 2019
Centril added a commit to Centril/rust that referenced this pull request Jan 26, 2019
Make MutexGuard's Debug implementation more useful.

Fixes rust-lang#57702.
Centril added a commit to Centril/rust that referenced this pull request Jan 26, 2019
Make MutexGuard's Debug implementation more useful.

Fixes rust-lang#57702.
Centril added a commit to Centril/rust that referenced this pull request Jan 26, 2019
Make MutexGuard's Debug implementation more useful.

Fixes rust-lang#57702.
bors added a commit that referenced this pull request Jan 26, 2019
Rollup of 7 pull requests

Successful merges:

 - #57407 (Stabilize extern_crate_self)
 - #57703 (Make MutexGuard's Debug implementation more useful.)
 - #57764 (Fix some minor warnings)
 - #57825 (un-deprecate mem::zeroed)
 - #57827 (Ignore aarch64 in simd-intrinsic-generic-reduction)
 - #57908 (resolve: Fix span arithmetics in the import conflict error)
 - #57913 (Change crate-visibility-modifier issue number in The Unstable Book)

Failed merges:

r? @ghost
@bors bors merged commit 2e9deed into rust-lang:master Jan 26, 2019
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.

7 participants