From 07b1acc9f55398b8eaaee51a48b1a1bad63c9128 Mon Sep 17 00:00:00 2001 From: bluss Date: Fri, 12 Aug 2016 15:53:07 +0200 Subject: [PATCH] Adjust doc(html_root_url) The URL does not need to contain the crate name. With this URL rustdoc can generate correct external doc links. --- serde/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index ddd1f395..7a45b06f 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -9,7 +9,7 @@ //! For a detailed tutorial on the different ways to use serde please check out the //! [github repository](https://github.com/serde-rs/serde) -#![doc(html_root_url="https://serde-rs.github.io/serde/serde")] +#![doc(html_root_url="https://serde-rs.github.io/serde")] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(feature = "unstable", feature(reflect_marker, unicode, nonzero, plugin, step_trait, zero_one))] #![cfg_attr(feature = "alloc", feature(alloc))]