Skip to content

Commit

Permalink
Fix unintended u8 link inferred by intra doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 9, 2023
1 parent 11b603c commit db75c22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ enum Value {

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

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
//!
//! A string of JSON data can be parsed into a `serde_json::Value` by the
//! [`serde_json::from_str`][from_str] function. There is also [`from_slice`]
//! for parsing from a byte slice &[u8] and [`from_reader`] for parsing from any
//! `io::Read` like a File or a TCP stream.
//! for parsing from a byte slice &\[u8\] and [`from_reader`] for parsing from
//! any `io::Read` like a File or a TCP stream.
//!
//! ```
//! use serde_json::{Result, Value};
Expand Down

0 comments on commit db75c22

Please sign in to comment.