Skip to content

Commit a0d14d9

Browse files
Cleaned up some vestigial type shenanigans
1 parent e816e10 commit a0d14d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/CodableDatastore/Datastore/Datastore.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ extension Datastore {
535535
order: RangeOrder = .ascending,
536536
from indexPath: IndexPath<CodedType, _SomeIndexed<IndexedValue>>
537537
) -> some TypedAsyncSequence<CodedType> {
538-
let a: AsyncThrowingBackpressureStream<CodedType> = AsyncThrowingBackpressureStream { provider in
538+
AsyncThrowingBackpressureStream { provider in
539539
try await self.warmupIfNeeded()
540540

541541
try await self.persistence._withTransaction(
@@ -573,7 +573,6 @@ extension Datastore {
573573
}
574574
}
575575
}
576-
return a
577576
}
578577

579578
@_disfavoredOverload

0 commit comments

Comments
 (0)