add doc_markdown clippy lint (#8552)

Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-06-03 15:21:45 +02:00
committed by GitHub
parent 34af610b8e
commit 7c17c6e469
440 changed files with 2166 additions and 2145 deletions

View File

@ -82,7 +82,7 @@ where
{
/// Start responding to connections requests.
///
/// This will run on the tokio runtime until the server is stopped or the ServerHandle is
/// This will run on the tokio runtime until the server is stopped or the `ServerHandle` is
/// dropped.
///
/// ```
@ -273,7 +273,7 @@ pub(crate) struct ServiceData {
///
/// This is used for subscriptions.
pub(crate) method_sink: MethodSink,
/// ServerConfig
/// `ServerConfig`
pub(crate) server_cfg: Settings,
}
@ -342,7 +342,7 @@ impl<L> RpcServiceBuilder<L> {
}
}
/// JsonRPSee service compatible with `tower`.
/// `JsonRPSee` service compatible with `tower`.
///
/// # Note
/// This is similar to [`hyper::service::service_fn`](https://docs.rs/hyper/latest/hyper/service/fn.service_fn.html).

View File

@ -20,7 +20,7 @@ pub struct RpcService {
cfg: RpcServiceCfg,
}
/// Configuration of the RpcService.
/// Configuration of the `RpcService`.
#[allow(dead_code)]
#[derive(Clone, Debug)]
pub(crate) enum RpcServiceCfg {