diff options
author | hozan23 <hozan23@proton.me> | 2024-03-11 09:09:53 +0100 |
---|---|---|
committer | hozan23 <hozan23@proton.me> | 2024-03-11 09:09:53 +0100 |
commit | 6040ab6bd35a47a3c8435c37747b8fcf43c4c7eb (patch) | |
tree | e02d63a575c87f662f8de61341fac7a7fecf81ab /jsonrpc/src/client.rs | |
parent | a16997d75acf57b0be813716d0d4e7cfbc333f58 (diff) |
jsonrpc: Handle client connection failures & perform general cleanup
Diffstat (limited to 'jsonrpc/src/client.rs')
-rw-r--r-- | jsonrpc/src/client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonrpc/src/client.rs b/jsonrpc/src/client.rs index 8e413e2..dc36c0d 100644 --- a/jsonrpc/src/client.rs +++ b/jsonrpc/src/client.rs @@ -32,7 +32,7 @@ impl Client { Self { codec, config } } - /// Calls the named method, waits for the response, and returns the result. + /// Calls the provided method, waits for the response, and returns the result. pub async fn call<T: Serialize + DeserializeOwned, V: DeserializeOwned>( &self, method: &str, |