aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc/src
diff options
context:
space:
mode:
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
///