From 4e5e7a145d133516577964c771b2b3aaf76f0cb3 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Mon, 27 Jun 2022 03:32:57 +0400 Subject: [PATCH] Fix docs Former-commit-id: ee52bb28b4d8c1781743f85bcfe044f1f135ef9d --- src/dispatching/update_listeners/polling.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dispatching/update_listeners/polling.rs b/src/dispatching/update_listeners/polling.rs index c41eeabe..3eeba061 100644 --- a/src/dispatching/update_listeners/polling.rs +++ b/src/dispatching/update_listeners/polling.rs @@ -22,6 +22,8 @@ use crate::{ }; /// Builder for polling update listener. +/// +/// Can be created by [`Polling::builder`]. pub struct PollingBuilder { bot: R, timeout: Option, @@ -101,7 +103,7 @@ where /// Returns a long polling update listener with `timeout` of 10 seconds. /// -/// See also: [`polling_builder`]. +/// See also: [`Polling::builder`]. /// /// ## Notes ///