Bump version to 1.49.0

Due to the recent release of 1.47.0, this PR will be stabilized in 1.49.0 instead of 1.48.0.
This commit is contained in:
CDirkx 2020-10-16 21:29:21 +02:00 committed by GitHub
parent ce1d5ed31a
commit 5e80c65102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ impl<T> Poll<T> {
/// Returns `true` if this is `Poll::Ready`
#[inline]
#[rustc_const_stable(feature = "const_poll", since = "1.48.0")]
#[rustc_const_stable(feature = "const_poll", since = "1.49.0")]
#[stable(feature = "futures_api", since = "1.36.0")]
pub const fn is_ready(&self) -> bool {
matches!(*self, Poll::Ready(_))
@ -47,7 +47,7 @@ impl<T> Poll<T> {
/// Returns `true` if this is `Poll::Pending`
#[inline]
#[rustc_const_stable(feature = "const_poll", since = "1.48.0")]
#[rustc_const_stable(feature = "const_poll", since = "1.49.0")]
#[stable(feature = "futures_api", since = "1.36.0")]
pub const fn is_pending(&self) -> bool {
!self.is_ready()