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 f00a88f commit 9dc9713Copy full SHA for 9dc9713
Sources/Web3Core/EthereumNetwork/Request/APIRequest+UtilityTypes.swift
@@ -46,8 +46,8 @@ struct RequestBody: Encodable {
46
}
47
48
public var encodedBody: Data {
49
- // this is safe to force try this here
50
- // Because request must failed to compile if it not conformable with `Encodable` protocol
+ // Safe to use force-try because request will fail to
+ // compile if it's not conforming to the `Encodable` protocol.
51
return try! JSONEncoder().encode(self)
52
53
0 commit comments