Skip to content

Commit 8cb5fc3

Browse files
committed
docs: add backticks for clippy doc_markdown lint
1 parent c87514b commit 8cb5fc3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

crates/config/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ impl Default for RateLimitConfig {
198198
/// Maps RPC methods to backend groups or blocks them entirely.
199199
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
200200
pub struct RouteConfig {
201-
/// Method name or prefix (e.g., "eth_call" or "eth_").
201+
/// Method name or prefix (e.g., `eth_call` or `eth_`).
202202
pub method: String,
203203
/// Target group name or "block" to reject the method.
204204
pub target: String,

crates/rpc/src/codec.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ impl<C: CodecConfig> RpcCodec<C> {
227227
&self.config
228228
}
229229

230-
/// Parse raw bytes into a ParsedRequestPacket, enforcing size limits.
230+
/// Parse raw bytes into a `ParsedRequestPacket`, enforcing size limits.
231231
///
232232
/// This parses the JSON and validates structure. Use this when you need
233233
/// to inspect the request method or parameters.
@@ -262,7 +262,7 @@ impl<C: CodecConfig> RpcCodec<C> {
262262
self.decode(bytes.as_ref())
263263
}
264264

265-
/// Serialize a ParsedResponsePacket to bytes.
265+
/// Serialize a `ParsedResponsePacket` to bytes.
266266
///
267267
/// # Errors
268268
///
@@ -276,7 +276,7 @@ impl<C: CodecConfig> RpcCodec<C> {
276276
Ok(Bytes::from(json))
277277
}
278278

279-
/// Serialize a single ParsedResponse to bytes.
279+
/// Serialize a single `ParsedResponse` to bytes.
280280
///
281281
/// # Errors
282282
///
@@ -298,7 +298,7 @@ impl<C: CodecConfig> RpcCodec<C> {
298298
Ok(Bytes::from(json))
299299
}
300300

301-
/// Parse raw bytes into a ParsedRequestPacket.
301+
/// Parse raw bytes into a `ParsedRequestPacket`.
302302
fn parse_request_packet(&self, bytes: &[u8]) -> Result<ParsedRequestPacket, CodecError> {
303303
// Trim leading whitespace to check if it starts with [ (batch) or { (single)
304304
let trimmed = bytes.iter().skip_while(|b| b.is_ascii_whitespace()).copied().next();

crates/traits/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
66

77
Core trait definitions for Roxy components including Backend, Cache,
8-
RateLimiter, LoadBalancer, and runtime abstractions for spawning,
8+
`RateLimiter`, `LoadBalancer`, and runtime abstractions for spawning,
99
clocks, and metrics.
1010

1111
## License

0 commit comments

Comments
 (0)