Skip to content

Commit 2716874

Browse files
committed
stdlib: Remove some redundant generic requirements
1 parent 7380062 commit 2716874

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

stdlib/public/core/ArrayBufferProtocol.swift

+1-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ where Indices == Range<Int> {
119119
var identity: UnsafeRawPointer { get }
120120
}
121121

122-
extension _ArrayBufferProtocol where Indices == Range<Int>{
123-
122+
extension _ArrayBufferProtocol {
124123
@inlinable
125124
internal var subscriptBaseAddress: UnsafeMutablePointer<Element> {
126125
return firstElementAddress

stdlib/public/core/Result.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,4 +191,4 @@ extension Result: Equatable where Success: Equatable, Failure: Equatable { }
191191

192192
extension Result: Hashable where Success: Hashable, Failure: Hashable { }
193193

194-
extension Result: Sendable where Success: Sendable, Failure: Sendable { }
194+
extension Result: Sendable where Success: Sendable { }

0 commit comments

Comments
 (0)