mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
@ -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).
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user