about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChase Wilson <buckshot1233@gmail.com>2022-09-07 10:27:42 -0500
committerGitHub <noreply@github.com>2022-09-07 10:27:42 -0500
commitdf8a62d4f380d656444a6fc4e704bcd3693f4b9a (patch)
tree9168f2b62e70ec079529cddcac94f84ed763008a
parent59be3e856f218f55be0f73bcfed6265772437ec7 (diff)
downloadrust-df8a62d4f380d656444a6fc4e704bcd3693f4b9a.tar.gz
rust-df8a62d4f380d656444a6fc4e704bcd3693f4b9a.zip
Use `CURRENT_RUSTC_VERSION`
-rw-r--r--library/core/src/option.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs
index 1d6784af2a5..df5a20869a3 100644
--- a/library/core/src/option.rs
+++ b/library/core/src/option.rs
@@ -1718,7 +1718,7 @@ impl<T, U> Option<(T, U)> {
     /// assert_eq!(y.unzip(), (None, None));
     /// ```
     #[inline]
-    #[stable(feature = "unzip_option", since = "1.63.0")]
+    #[stable(feature = "unzip_option", since = "CURRENT_RUSTC_VERSION")]
     #[rustc_const_unstable(feature = "const_option", issue = "67441")]
     pub const fn unzip(self) -> (Option<T>, Option<U>)
     where