Fix readme typo

#58
This commit is contained in:
Sindre Sorhus 2020-12-29 22:55:15 +07:00 committed by GitHub
parent d328da99d5
commit 5b44e9fac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ extension Defaults.Keys {
static let isUnicornMode = Key<Bool>("isUnicornMode", default: true) static let isUnicornMode = Key<Bool>("isUnicornMode", default: true)
} }
print(UserDefaults.standard.bool(forKey: isUnicornMode.name)) print(UserDefaults.standard.bool(forKey: Defaults.Keys.isUnicornMode.name))
//=> true //=> true
``` ```