aboutsummaryrefslogtreecommitdiff
path: root/jsonrpc
diff options
context:
space:
mode:
Diffstat (limited to 'jsonrpc')
-rw-r--r--jsonrpc/README.md2
-rw-r--r--jsonrpc/src/lib.rs6
2 files changed, 4 insertions, 4 deletions
diff --git a/jsonrpc/README.md b/jsonrpc/README.md
index 98c18e1..ca33370 100644
--- a/jsonrpc/README.md
+++ b/jsonrpc/README.md
@@ -12,7 +12,7 @@ features:
## Example
-```
+```rust
use std::sync::Arc;
use serde_json::Value;
diff --git a/jsonrpc/src/lib.rs b/jsonrpc/src/lib.rs
index 1410a62..4ec03cc 100644
--- a/jsonrpc/src/lib.rs
+++ b/jsonrpc/src/lib.rs
@@ -1,9 +1,9 @@
//! A fast and lightweight async implementation of [JSON-RPC
//! 2.0](https://www.jsonrpc.org/specification).
-//!
-//! features:
+//!
+//! features:
//! - Supports TCP, TLS, WebSocket, and Unix protocols.
-//! - Uses smol(async-std) as the async runtime, but also supports tokio via
+//! - Uses smol(async-std) as the async runtime, but also supports tokio via
//! the `tokio` feature.
//! - Allows registration of multiple services (structs) of different types on a
//! single server.