-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(maitake-sync): impl
Future
for mutex::Lock
with generic `Scop…
…edRawMutex` (#517) This commit fixes the trait bounds on the `mutex::Lock` type's `Future` implementation so that it's present when used with an overridden `ScopedRawMutex`, as well as the default `DefaultMutex`. Thanks to @peterkrull for reporting this issue in [this comment][1]! As noted in #516, I've also added tests for this, which wouldn't have compiled prior to this change. [1]: #515 (comment)
- Loading branch information
Showing
2 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters