Update Defaults.swift

This commit is contained in:
Sindre Sorhus 2022-11-17 17:30:29 +07:00 committed by GitHub
parent a793470418
commit ce51b65bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ public enum Defaults {
/**
It will be executed in these situations:
- `UserDefaults.object(forKey: string)` return `nil`
- `bridge` cannot deserialize `Value` from `UserDefaults`
- `UserDefaults.object(forKey: string)` returns `nil`
- A `bridge` cannot deserialize `Value` from `UserDefaults`
*/
private let defaultValueGetter: () -> Value