Skip to content

Commit

Permalink
Update Defaults+iCloud.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus authored Aug 12, 2024
1 parent dd44d0d commit a4890db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Defaults/Defaults+iCloud.swift
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ extension Defaults {
/**
Add the keys to be automatically synced.
*/
// TODO: support array of Defaults.Key after swift 6 Pack iteration
// TODO: Support array of Defaults.Key after Swift 6 pack iteration is supported.
// https://github.com/sindresorhus/Defaults/pull/185#discussion_r1704464183
public static func add<each Value: Defaults.Serializable>(_ keys: repeat Defaults.Key<each Value>) {
repeat synchronizer.add(each keys)
}
Expand Down

0 comments on commit a4890db

Please sign in to comment.