Skip to content

Commit f6d65ce

Browse files
authored
Update 0433-mutex.md
1 parent 4be187c commit f6d65ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proposals/0433-mutex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ We propose a new type in the Standard Library Synchronization module: `Mutex`. T
2727
class FancyManagerOfSorts {
2828
let cache = Mutex<[String: Resource]>([:])
2929

30-
func save(_ resource: Resouce, as key: String) {
30+
func save(_ resource: Resource, as key: String) {
3131
cache.withLock {
3232
$0[key] = resource
3333
}

0 commit comments

Comments
 (0)