Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve rustdoc::redundant_explicit_links lint
warning: redundant explicit link target --> src/lib.rs:59:20 | 59 | //! [`from_slice`][from_slice] for parsing from a byte slice &[u8] and | ------------ ^^^^^^^^^^ explicit target is redundant | | | because label contains path that resolves to same destination | note: referenced explicit link target defined here --> src/lib.rs:295:19 | 295 | //! [from_slice]: crate::de::from_slice | ^^^^^^^^^^^^^^^^^^^^^ = note: when a link's destination is not specified, the label is used to resolve intra-doc links = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default help: remove explicit link target | 59 | //! [`from_slice`] for parsing from a byte slice &[u8] and | ~~~~~~~~~~~~~~ warning: redundant explicit link target --> src/lib.rs:60:21 | 60 | //! [`from_reader`][from_reader] for parsing from any `io::Read` like a File or | ------------- ^^^^^^^^^^^ explicit target is redundant | | | because label contains path that resolves to same destination | note: referenced explicit link target defined here --> src/lib.rs:296:20 | 296 | //! [from_reader]: crate::de::from_reader | ^^^^^^^^^^^^^^^^^^^^^^ = note: when a link's destination is not specified, the label is used to resolve intra-doc links help: remove explicit link target | 60 | //! [`from_reader`] for parsing from any `io::Read` like a File or | ~~~~~~~~~~~~~~~
- Loading branch information