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:
parent
ce1d5ed31a
commit
5e80c65102
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user