Skip to content

Commit 674a2aa

Browse files
authored
Merge pull request #42168 from slavapestov/stdlib-redundant-requirements
stdlib: Remove some redundant generic requirements
2 parents 8917602 + 2716874 commit 674a2aa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

stdlib/public/core/ArrayBufferProtocol.swift

Lines changed: 1 addition & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)