From 81b482e28b1a479cda667b57eafec5429eee9080 Mon Sep 17 00:00:00 2001 From: Antoine Marandon Date: Tue, 29 Oct 2019 17:27:25 +0900 Subject: [PATCH] Fix warning --- Sources/DiffableDataSource.CollectionView-UIKit.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/DiffableDataSource.CollectionView-UIKit.swift b/Sources/DiffableDataSource.CollectionView-UIKit.swift index 985905f..04943f0 100644 --- a/Sources/DiffableDataSource.CollectionView-UIKit.swift +++ b/Sources/DiffableDataSource.CollectionView-UIKit.swift @@ -120,7 +120,7 @@ extension DiffableDataSource { let diffableSnapshot = snapshot.diffableSnapshot self.dispatcher.apply( - diffableSnapshot as! Internals.DiffableDataSourceSnapshot, + diffableSnapshot, view: self.collectionView, animatingDifferences: animatingDifferences, performUpdates: { collectionView, changeset, setSections in