From 7351e0e55aaa3e77626d5fea6d85373c14a6b67a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 19 Jun 2020 13:30:14 -0700 Subject: [PATCH] Link to feature announcements where available --- serde/build.rs | 2 +- serde_derive/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/serde/build.rs b/serde/build.rs index 1453adf1..61376081 100644 --- a/serde/build.rs +++ b/serde/build.rs @@ -66,7 +66,7 @@ fn main() { } // Non-zero integers stabilized in Rust 1.28: - // https://github.com/rust-lang/rust/pull/50808 + // https://blog.rust-lang.org/2018/08/02/Rust-1.28.html#library-stabilizations if minor >= 28 { println!("cargo:rustc-cfg=num_nonzero"); } diff --git a/serde_derive/build.rs b/serde_derive/build.rs index a2c481a4..6e1b7b6d 100644 --- a/serde_derive/build.rs +++ b/serde_derive/build.rs @@ -12,7 +12,7 @@ fn main() { }; // Underscore const names stabilized in Rust 1.37: - // https://github.com/rust-lang/rust/pull/61347 + // https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html#using-unnamed-const-items-for-macros if minor >= 37 { println!("cargo:rustc-cfg=underscore_consts"); }