Skip to content

Commit

Permalink
Revert "Work around docs.rs using an old 1.26-dev compiler"
Browse files Browse the repository at this point in the history
This reverts commit c81bab1.
  • Loading branch information
dtolnay committed May 30, 2018
1 parent 1b6fbf1 commit db2bafd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions serde/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 #################################################################

Expand Down
4 changes: 2 additions & 2 deletions serde/src/integer128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@
/// ($($tt:tt)*) => {};
/// }
/// ```
#[cfg(all(integer128, not(serde_docs_rs)))]
#[cfg(integer128)]
#[macro_export]
macro_rules! serde_if_integer128 {
($($tt:tt)*) => {
$($tt)*
};
}

#[cfg(any(not(integer128), serde_docs_rs))]
#[cfg(not(integer128))]
#[macro_export]
#[doc(hidden)]
macro_rules! serde_if_integer128 {
Expand Down

0 comments on commit db2bafd

Please sign in to comment.