We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d70f197 commit 2d23ab3Copy full SHA for 2d23ab3
stdlib/public/core/LifetimeManager.swift
@@ -137,7 +137,7 @@ public func _withUnprotectedUnsafeMutablePointer<
137
/// `withUnsafeMutablePointer(to:_:)` instead.
138
/// - Returns: The return value, if any, of the `body` closure.
139
@_alwaysEmitIntoClient
140
-public func withUnsafePointer<T: ~Copyable, E, Result: ~Copyable>(
+public func withUnsafePointer<T: ~Copyable, E: Error, Result: ~Copyable>(
141
to value: borrowing T,
142
_ body: (UnsafePointer<T>) throws(E) -> Result
143
) throws(E) -> Result
0 commit comments