From 253202f96a534fbe7859b6b76d6350f64e6bc37a Mon Sep 17 00:00:00 2001 From: Sebastiano Faiella Date: Thu, 22 Dec 2022 14:59:20 -0400 Subject: [PATCH] docs(ethers-providers): fixed typos in rw client docs (#1957) --- CHANGELOG.md | 2 ++ ethers-providers/src/transports/rw.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba768abc..61aaa329 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,9 @@ ## ethers-core ### Unreleased + - +- Fix typo in `RwClient` docs for `write_client` method. - Graceful handling of WebSocket transport errors [#1889](https://github.com/gakonst/ethers-rs/issues/1889) [#1815](https://github.com/gakonst/ethers-rs/issues/1815) - `MiddlewareBuilder` trait to instantiate a `Provider` as `Middleware` layers. - An `Event` builder can be instantiated specifying the event filter type, without the need to instantiate a contract. diff --git a/ethers-providers/src/transports/rw.rs b/ethers-providers/src/transports/rw.rs index f54a96eb..58499d20 100644 --- a/ethers-providers/src/transports/rw.rs +++ b/ethers-providers/src/transports/rw.rs @@ -9,7 +9,7 @@ use serde::{de::DeserializeOwned, Serialize}; use thiserror::Error; -/// A client contains two clients. +/// A client containing two clients. /// /// One is used for _read_ operations /// One is used for _write_ operations that consume gas `["eth_sendTransaction", @@ -48,7 +48,7 @@ impl RwClient { &self.r } - /// Returns the client used for read operations + /// Returns the client used for write operations pub fn write_client(&self) -> &Write { &self.w }