Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Jul 23, 2024
1 parent 583bb5c commit ae21cce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/IdentifiedCollections/Identified/Identified.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public struct Identified<ID: Hashable, Value>: Identifiable {
public subscript<Subject>(
dynamicMember keyPath: KeyPath<Value, Subject>
) -> Subject {
self.value[keyPath: keyPath]
self.value[keyPath: keyPath]
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ private struct Item: Identifiable, Comparable, Equatable {
}

private protocol TestCollection<Element>:
MutableCollection, RandomAccessCollection, RangeReplaceableCollection {}
MutableCollection, RandomAccessCollection, RangeReplaceableCollection
{}

extension Array: TestCollection {}
extension IdentifiedArray: TestCollection where Element: Identifiable, Element.ID == ID {}
Expand Down

0 comments on commit ae21cce

Please sign in to comment.