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.
1 parent 4be187c commit f6d65ceCopy full SHA for f6d65ce
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