diff --git a/tokio-util/src/io/sync_bridge.rs b/tokio-util/src/io/sync_bridge.rs index 936e95769f7..b6a42860265 100644 --- a/tokio-util/src/io/sync_bridge.rs +++ b/tokio-util/src/io/sync_bridge.rs @@ -47,7 +47,7 @@ use tokio::io::{ /// tokio::io::copy(&mut reader, &mut encoder).await?; /// ``` /// -/// ## Example 3: Parsing JSON +/// ## Example 3: Parsing `JSON` /// /// When parsing `JSON` data, avoid using `SyncIoBridge` with `serde_json::from_reader` as it may cause blocking operations. /// Instead, read the data into a `Vec` and parse it using `serde_json::from_slice`.