Skip to content

Commit c1af362

Browse files
committed
extending the inlinable to the declared properties
1 parent 9d39799 commit c1af362

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/ConnectionPoolModule/ConnectionPoolError.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ public struct ConnectionPoolError: Error, Hashable {
1313
init(_ base: Base) { self.base = base }
1414

1515
/// The connection requests got cancelled
16+
@inlinable
1617
public static var requestCancelled: Self {
1718
ConnectionPoolError(.requestCancelled)
1819
}
1920
/// The connection requests can't be fulfilled as the pool has already been shutdown
21+
@inlinable
2022
public static var poolShutdown: Self {
2123
ConnectionPoolError(.poolShutdown)
2224
}

0 commit comments

Comments
 (0)