We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2310d6a + f6d65ce commit b2eaa91Copy full SHA for b2eaa91
proposals/0433-mutex.md
@@ -27,7 +27,7 @@ We propose a new type in the Standard Library Synchronization module: `Mutex`. T
27
class FancyManagerOfSorts {
28
let cache = Mutex<[String: Resource]>([:])
29
30
- func save(_ resource: Resouce, as key: String) {
+ func save(_ resource: Resource, as key: String) {
31
cache.withLock {
32
$0[key] = resource
33
}
0 commit comments