Revert "Work around docs.rs using an old 1.26-dev compiler"

This reverts commit c81bab18ad76b4f753d06998619894271ad14c73.
This commit is contained in:
David Tolnay 2018-05-30 00:13:20 -07:00
parent 1b6fbf1023
commit db2bafd3f3
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 2 additions and 7 deletions

View File

@ -23,11 +23,6 @@ serde_derive = { version = "1.0", optional = true, path = "../serde_derive" }
[dev-dependencies]
serde_derive = { version = "1.0", path = "../serde_derive" }
[package.metadata.docs.rs]
# Temporary cfg to work around docs.rs using an old 1.26-dev compiler.
rustc-args = ["--cfg", "serde_docs_rs"]
rustdoc-args = ["--cfg", "serde_docs_rs"]
### FEATURES #################################################################

View File

@ -70,7 +70,7 @@
/// ($($tt:tt)*) => {};
/// }
/// ```
#[cfg(all(integer128, not(serde_docs_rs)))]
#[cfg(integer128)]
#[macro_export]
macro_rules! serde_if_integer128 {
($($tt:tt)*) => {
@ -78,7 +78,7 @@ macro_rules! serde_if_integer128 {
};
}
#[cfg(any(not(integer128), serde_docs_rs))]
#[cfg(not(integer128))]
#[macro_export]
#[doc(hidden)]
macro_rules! serde_if_integer128 {