Skip to content

Commit 6ffedf0

Browse files
authored
fix(json-rpc): transport crate deadlinks in doc (#2309)
fix: transport crate deadlinks
1 parent f7503a1 commit 6ffedf0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: crates/json-rpc/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ an arbitrary parameters object. The parameters object may be omitted if empty.
1414

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

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

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

28-
[alloy-transports]: ../transports
28+
[alloy-transport]: ../transport
2929

3030
### Limitations
3131

Diff for: crates/json-rpc/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
//! If you find yourself importing this crate, and you are not implementing a
88
//! JSON-RPC client or transport, you are likely at the wrong layer of
99
//! abstraction. If you want to _use_ a JSON-RPC client, consider using the
10-
//! [`alloy-transports`] crate.
10+
//! [`alloy-transport`] crate.
1111
//!
12-
//! [`alloy-transports`]: https://docs.rs/alloy-transports/latest/alloy-transports
12+
//! [`alloy-transport`]: https://docs.rs/alloy-transport/latest/alloy_transport/
1313
//!
1414
//! ## Usage
1515
//!

0 commit comments

Comments
 (0)