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.
This commit is contained in:
bluss 2016-08-12 15:53:07 +02:00 committed by GitHub
parent 85864e6ccb
commit 07b1acc9f5

View File

@ -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))]