From f1b78d53d7d0009fdef8f0e220bc0c421288c514 Mon Sep 17 00:00:00 2001 From: hozan23 Date: Thu, 23 Nov 2023 00:08:16 +0300 Subject: general clean ups for the docs --- jsonrpc/src/server.rs | 2 +- jsonrpc/src/service.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'jsonrpc/src') diff --git a/jsonrpc/src/server.rs b/jsonrpc/src/server.rs index f6006cc..213fa41 100644 --- a/jsonrpc/src/server.rs +++ b/jsonrpc/src/server.rs @@ -16,7 +16,7 @@ use crate::{ Error, Result, JSONRPC_VERSION, }; -/// Represents an RPC server +/// RPC server config #[derive(Default)] pub struct ServerConfig { codec_config: CodecConfig, diff --git a/jsonrpc/src/service.rs b/jsonrpc/src/service.rs index f0e2828..62ec726 100644 --- a/jsonrpc/src/service.rs +++ b/jsonrpc/src/service.rs @@ -13,7 +13,7 @@ pub trait RPCService: Sync + Send { fn name(&self) -> String; } -/// Implements the `RPCService` trait for a provided type. +/// Implements the [`RPCService`] trait for a provided type. /// /// # Example /// -- cgit v1.2.3