Skip to content

fix(json-rpc): transport crate deadlinks in doc #2309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2025
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
4 changes: 2 additions & 2 deletions crates/json-rpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ an arbitrary parameters object. The parameters object may be omitted if empty.

Any object that may be Serialized and Cloned may be used as RPC Parameters.

Requests are sent via transports (see [alloy-transports]). This results in 1 of
Requests are sent via transports (see [alloy-transport]). This results in 1 of
3 outcomes, captured in the `RpcResult<E>` enum:

- `Ok(Response)` - The request was successful, and the server returned a
Expand All @@ -25,7 +25,7 @@ Requests are sent via transports (see [alloy-transports]). This results in 1 of
- `Err(E)` - Some client-side error prevented the request from being received
by the server, or prevented the response from being processed. This indicates a client-side or transport-related error.

[alloy-transports]: ../transports
[alloy-transport]: ../transport

### Limitations

Expand Down
4 changes: 2 additions & 2 deletions crates/json-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
//! If you find yourself importing this crate, and you are not implementing a
//! JSON-RPC client or transport, you are likely at the wrong layer of
//! abstraction. If you want to _use_ a JSON-RPC client, consider using the
//! [`alloy-transports`] crate.
//! [`alloy-transport`] crate.
//!
//! [`alloy-transports`]: https://docs.rs/alloy-transports/latest/alloy-transports
//! [`alloy-transport`]: https://docs.rs/alloy-transport/latest/alloy_transport/
//!
//! ## Usage
//!
Expand Down
Loading