Skip to content

Commit ae21cce

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 583bb5c commit ae21cce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Sources/IdentifiedCollections/Identified/Identified.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public struct Identified<ID: Hashable, Value>: Identifiable {
5353
public subscript<Subject>(
5454
dynamicMember keyPath: KeyPath<Value, Subject>
5555
) -> Subject {
56-
self.value[keyPath: keyPath]
56+
self.value[keyPath: keyPath]
5757
}
5858
}
5959

Tests/IdentifiedCollectionsTests/IdentifiedArrayCollectionOperationTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ private struct Item: Identifiable, Comparable, Equatable {
5050
}
5151

5252
private protocol TestCollection<Element>:
53-
MutableCollection, RandomAccessCollection, RangeReplaceableCollection {}
53+
MutableCollection, RandomAccessCollection, RangeReplaceableCollection
54+
{}
5455

5556
extension Array: TestCollection {}
5657
extension IdentifiedArray: TestCollection where Element: Identifiable, Element.ID == ID {}

0 commit comments

Comments
 (0)