Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

docs(ethers-providers): fixed typos in rw client docs #1957

Merged
merged 3 commits into from
Dec 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions ethers-providers/src/transports/rw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -48,7 +48,7 @@ impl<Read, Write> RwClient<Read, Write> {
&self.r
}

/// Returns the client used for read operations
/// Returns the client used for write operations
pub fn write_client(&self) -> &Write {
&self.w
}
Expand Down