   /// - Parameter item:
   /// - Returns:
   public func indexPathPointerPersonality(of item: T) -> IndexPath? {
-    guard let index = items.index(where: { $0 === item }) else { return nil }
+    guard let index = items.firstIndex(where: { $0 === item }) else { return nil }
     return IndexPath(item: index, section: displayingSection)
   }
 }


  private(set) public var items: [T] = []

  fileprivate var snapshot: [T] = []

  private var state: State = .idle


  /// - Parameter item:
  /// - Returns:
  public func indexPath(of item: T) -> IndexPath? {
    guard let index = items.firstIndex(where: { $0.differenceIdentifier == item.differenceIdentifier }) else { return nil }
    return IndexPath(item: index, section: displayingSection)
  }

  public func indexPath(of `where`: (T) -> Bool) -> IndexPath? {
    guard let index = items.firstIndex(where:`where`) else { return nil }
    return IndexPath(item: index, section: displayingSection)
  }
}
