@@ -191,10 +191,10 @@ extension VLArray where Element: ~Copyable {
191191extension VLArray {
192192 @discardableResult
193193 @inlinable
194- public static func create< E : Error , T> (
194+ public static func create< T> (
195195 amount: Int ,
196196 default: Element ,
197- _ closure: ( consuming Self ) throws ( E ) -> T
197+ _ closure: ( consuming Self ) throws -> T
198198 ) rethrows -> T {
199199 return try withUnsafeTemporaryAllocation ( of: Element . self, capacity: amount, { p in
200200 p. initialize ( repeating: `default`)
@@ -208,10 +208,10 @@ extension VLArray {
208208
209209 @discardableResult
210210 @inlinable
211- public static func create< E : Error , T> (
211+ public static func create< T> (
212212 amount: Int ,
213213 initialize: ( Index ) -> Element ,
214- _ closure: ( consuming Self ) throws ( E ) -> T
214+ _ closure: ( consuming Self ) throws -> T
215215 ) rethrows -> T {
216216 return try withUnsafeTemporaryAllocation ( of: Element . self, capacity: amount, { p in
217217 for i in 0 ..< amount {
@@ -230,10 +230,10 @@ extension VLArray {
230230extension VLArray where Element: ~ Copyable {
231231 @discardableResult
232232 @inlinable
233- public static func create< E : Error , T> (
233+ public static func create< T> (
234234 amount: Int ,
235235 initialize: ( Index ) -> Element ,
236- _ closure: ( consuming Self ) throws ( E ) -> T
236+ _ closure: ( consuming Self ) throws -> T
237237 ) rethrows -> T {
238238 return try withUnsafeTemporaryAllocation ( of: Element . self, capacity: amount, { p in
239239 for i in 0 ..< amount {
@@ -253,9 +253,9 @@ extension VLArray where Element == UInt8 {
253253
254254 @discardableResult
255255 @inlinable
256- public static func create< E : Error , T> (
256+ public static func create< T> (
257257 string: StaticString ,
258- _ closure: ( consuming Self ) throws ( E ) -> T
258+ _ closure: ( consuming Self ) throws -> T
259259 ) rethrows -> T {
260260 return try withUnsafeTemporaryAllocation ( of: Element . self, capacity: string. utf8CodeUnitCount, { p in
261261 string. withUTF8Buffer {
@@ -271,9 +271,9 @@ extension VLArray where Element == UInt8 {
271271
272272 @discardableResult
273273 @inlinable
274- public static func create< E : Error , T> (
274+ public static func create< T> (
275275 string: some StringProtocol ,
276- _ closure: ( consuming Self ) throws ( E ) -> T
276+ _ closure: ( consuming Self ) throws -> T
277277 ) rethrows -> T {
278278 let utf8 = string. utf8
279279 return try withUnsafeTemporaryAllocation ( of: Element . self, capacity: utf8. count, { p in
@@ -288,9 +288,9 @@ extension VLArray where Element == UInt8 {
288288
289289 @discardableResult
290290 @inlinable
291- public static func create< E : Error , T> (
291+ public static func create< T> (
292292 collection: some Collection < UInt8 > ,
293- _ closure: ( consuming Self ) throws ( E ) -> T
293+ _ closure: ( consuming Self ) throws -> T
294294 ) rethrows -> T {
295295 let count = collection. count
296296 return try withUnsafeTemporaryAllocation (
@@ -311,9 +311,9 @@ extension VLArray where Element == UInt8 {
311311#if compiler(>=6.2)
312312extension VLArray {
313313 @inlinable
314- public func join< let count: Int , E : Error > (
314+ public func join< let count: Int > (
315315 _ arrays: consuming InlineArray < count , VLArray > ,
316- _ closure: ( inout Joined ) throws ( E ) -> Void
316+ _ closure: ( inout Joined ) throws -> Void
317317 ) rethrows {
318318 try withUnsafeTemporaryAllocation (
319319 of: UnsafeMutableBufferPointer< Element> . self ,
0 commit comments