Skip to content

Commit f00a88f

Browse files
chore: docs refactoring
1 parent e542974 commit f00a88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ extension APIRequest {
110110
if let LiteralType = Result.self as? LiteralInitiableFromString.Type {
111111
guard let responseAsString = try? JSONDecoder().decode(APIResponse<String>.self, from: data) else { throw Web3Error.dataError }
112112
guard let literalValue = LiteralType.init(from: responseAsString.result) else { throw Web3Error.dataError }
113-
/// `literalValue` conforms `LiteralInitiableFromString`, that conforming to an `APIResponseType` type, so it's never fails.
113+
/// `literalValue` conforms `LiteralInitiableFromString` (which conforms to an `APIResponseType` type) so it never fails.
114114
guard let result = literalValue as? Result else { throw Web3Error.typeError }
115115
return APIResponse(id: responseAsString.id, jsonrpc: responseAsString.jsonrpc, result: result)
116116
}

0 commit comments

Comments
 (0)