Skip to content

Commit db75c22

Browse files
committed
Fix unintended u8 link inferred by intra doc link
1 parent 11b603c commit db75c22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ enum Value {
7676

7777
A string of JSON data can be parsed into a `serde_json::Value` by the
7878
[`serde_json::from_str`][from_str] function. There is also
79-
[`from_slice`][from_slice] for parsing from a byte slice &[u8] and
79+
[`from_slice`][from_slice] for parsing from a byte slice &\[u8\] and
8080
[`from_reader`][from_reader] for parsing from any `io::Read` like a File or a
8181
TCP stream.
8282

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
//!
5757
//! A string of JSON data can be parsed into a `serde_json::Value` by the
5858
//! [`serde_json::from_str`][from_str] function. There is also [`from_slice`]
59-
//! for parsing from a byte slice &[u8] and [`from_reader`] for parsing from any
60-
//! `io::Read` like a File or a TCP stream.
59+
//! for parsing from a byte slice &\[u8\] and [`from_reader`] for parsing from
60+
//! any `io::Read` like a File or a TCP stream.
6161
//!
6262
//! ```
6363
//! use serde_json::{Result, Value};

0 commit comments

Comments
 (0)