Commit 11b603c
committed
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
| ~~~~~~~~~~~~~~~1 parent 95c5d6c commit 11b603c
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
0 commit comments