Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add trait bound to example for MutexGuard that is !Send + Sync
This example only makes sense (and is therefore easier to understand logically :) ) if T is Sync. See rust-lang/rust#41622 - this used to be a bug initially.
- Loading branch information