aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src
diff options
context:
space:
mode:
authorhozan23 <hozan23@proton.me>2023-11-23 00:08:16 +0300
committerhozan23 <hozan23@proton.me>2023-11-23 00:08:16 +0300
commitf1b78d53d7d0009fdef8f0e220bc0c421288c514 (patch)
tree4e00a6ef8228a25debcaadf8b1e3b5ca4517eeae /jsonrpc/src
parent52616ee63d77e1847f502c0ac92bead6eaa12ab3 (diff)
general clean ups for the docs
Diffstat (limited to 'jsonrpc/src')
-rw-r--r--jsonrpc/src/server.rs2
-rw-r--r--jsonrpc/src/service.rs2
2 files changed, 2 insertions, 2 deletions
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
///