diff --git a/src/lib.rs b/src/lib.rs index 83f48a031..d2e5e0b62 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,10 +55,9 @@ //! ``` //! //! 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_reader`][from_reader] for parsing from any `io::Read` like a File or -//! a TCP stream. +//! [`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. //! //! ``` //! use serde_json::{Result, Value};