Skip to content

Commit

Permalink
Merge pull request #20 from bitsfabrik/master
Browse files Browse the repository at this point in the history
Compiler Error Swift.Collection required
  • Loading branch information
ra1028 authored Mar 31, 2020
2 parents 1d6674c + 74f554c commit d3e5bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Internal/SnapshotStructure.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ struct SnapshotStructure<SectionID: Hashable, ItemID: Hashable> {
self.init(id: id, items: [], isReloaded: false)
}

init<C: Collection>(source: Section, elements: C) where C.Element == Item {
init<C: Swift.Collection>(source: Section, elements: C) where C.Element == Item {
self.init(id: source.differenceIdentifier, items: Array(elements), isReloaded: source.isReloaded)
}

Expand Down

0 comments on commit d3e5bb4

Please sign in to comment.