Skip to content

Commit

Permalink
Address compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyzanowskim committed Jun 7, 2023
1 parent 7299d8b commit c80bcc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/CryptoSwift/BatchedCollection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ struct BatchedCollectionIndex<Base: Collection> {

extension BatchedCollectionIndex: Comparable {
@usableFromInline
static func == <Base>(lhs: BatchedCollectionIndex<Base>, rhs: BatchedCollectionIndex<Base>) -> Bool {
static func == <BaseCollection>(lhs: BatchedCollectionIndex<BaseCollection>, rhs: BatchedCollectionIndex<BaseCollection>) -> Bool {
lhs.range.lowerBound == rhs.range.lowerBound
}

@usableFromInline
static func < <Base>(lhs: BatchedCollectionIndex<Base>, rhs: BatchedCollectionIndex<Base>) -> Bool {
static func < <BaseCollection>(lhs: BatchedCollectionIndex<BaseCollection>, rhs: BatchedCollectionIndex<BaseCollection>) -> Bool {
lhs.range.lowerBound < rhs.range.lowerBound
}
}
Expand Down

0 comments on commit c80bcc0

Please sign in to comment.