Skip to content

Commit 29a405b

Browse files
committed
Got rid of unnecessary auto overload.
1 parent ee34e16 commit 29a405b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Sources/Guise/Registrar/Auto.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@
77

88
public typealias Resolution<T> = (any Resolver) throws -> T
99

10-
public func auto<T>(
11-
_ initializer: @escaping () throws -> T
12-
) -> Resolution<T> {
13-
return { _ in
14-
try initializer()
15-
}
16-
}
17-
1810
#if swift(>=5.9)
1911

2012
public func auto<T, each D>(

0 commit comments

Comments
 (0)