Correct deprecated since version

Former-commit-id: 195d34ba0c
This commit is contained in:
Maybe Waffle 2022-06-27 03:23:04 +04:00
parent a07af45ec7
commit 79e393c445

View file

@ -130,7 +130,7 @@ where
} }
/// Returns a long polling update listener with some additional options. /// Returns a long polling update listener with some additional options.
#[deprecated(since = "0.7.0", note = "use `polling_builder` instead")] #[deprecated(since = "0.10.0", note = "use `polling_builder` instead")]
pub fn polling<R>( pub fn polling<R>(
bot: R, bot: R,
timeout: Option<Duration>, timeout: Option<Duration>,