Skip to content

Commit

Permalink
Switch to short form for serde.rs link in rustdoc
Browse files Browse the repository at this point in the history
Fixes a rustdoc warning:

    warning: unneeded long form for URL
      --> serde/src/lib.rs:12:27
       |
    12 | //! See the Serde website [https://serde.rs/] for additional documentation and
       |                           ^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://serde.rs/>`
       |
       = note: `#[warn(non_autolinks)]` on by default
  • Loading branch information
dtolnay committed Dec 21, 2020
1 parent 3c29a88 commit 3c9fa1c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions serde/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
//! these two groups interact with each other, allowing any supported data
//! structure to be serialized and deserialized using any supported data format.
//!
//! See the Serde website [https://serde.rs/] for additional documentation and
//! See the Serde website <https://serde.rs/> for additional documentation and
//! usage examples.
//!
//! [https://serde.rs/]: https://serde.rs/
//!
//! ## Design
//!
//! Where many other languages rely on runtime reflection for serializing data,
Expand Down

0 comments on commit 3c9fa1c

Please sign in to comment.