Skip to content

Commit 2d23ab3

Browse files
committed
[stdlib] withUnsafePointer: Spell out Error conformance on E
1 parent d70f197 commit 2d23ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/LifetimeManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public func _withUnprotectedUnsafeMutablePointer<
137137
/// `withUnsafeMutablePointer(to:_:)` instead.
138138
/// - Returns: The return value, if any, of the `body` closure.
139139
@_alwaysEmitIntoClient
140-
public func withUnsafePointer<T: ~Copyable, E, Result: ~Copyable>(
140+
public func withUnsafePointer<T: ~Copyable, E: Error, Result: ~Copyable>(
141141
to value: borrowing T,
142142
_ body: (UnsafePointer<T>) throws(E) -> Result
143143
) throws(E) -> Result

0 commit comments

Comments
 (0)