From 5b44e9fac2d679f568160686f38b3b80d23eb323 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 29 Dec 2020 22:55:15 +0700 Subject: [PATCH] Fix readme typo #58 --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f24a696..1523ef8 100644 --- a/readme.md +++ b/readme.md @@ -315,7 +315,7 @@ extension Defaults.Keys { static let isUnicornMode = Key("isUnicornMode", default: true) } -print(UserDefaults.standard.bool(forKey: isUnicornMode.name)) +print(UserDefaults.standard.bool(forKey: Defaults.Keys.isUnicornMode.name)) //=> true ```