Use CURRENT_RUSTC_VERSION

This commit is contained in:
Chase Wilson 2022-09-07 10:27:42 -05:00 committed by GitHub
parent 59be3e856f
commit df8a62d4f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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