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

Fix Debug implementation for RwLock{Read,Write}Guard. #83559

Merged
merged 1 commit into from
Mar 27, 2021

Commits on Mar 27, 2021

  1. Fix Debug implementation for RwLock{Read,Write}Guard.

    This would attempt to print the Debug representation of the lock that
    the guard has locked, which will try to lock again, fail, and just print
    "<locked>" unhelpfully.
    
    After this change, this just prints the contents of the mutex, like the
    other smart pointers (and MutexGuard) do.
    m-ou-se committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    d730153 View commit details
    Browse the repository at this point in the history