From 1452695a150c16d601fd2f4a580f961f77643f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rx?= Date: Sat, 23 Sep 2023 22:10:13 +0200 Subject: [PATCH] Update crates/teloxide/src/dispatching/dispatcher.rs Co-authored-by: Waffle Maybe --- crates/teloxide/src/dispatching/dispatcher.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/teloxide/src/dispatching/dispatcher.rs b/crates/teloxide/src/dispatching/dispatcher.rs index 2c0b8a2a..808f9b5d 100644 --- a/crates/teloxide/src/dispatching/dispatcher.rs +++ b/crates/teloxide/src/dispatching/dispatcher.rs @@ -307,8 +307,8 @@ where .expect("try_dispatch_with_listener failed") } - /// Same as `dispatch_with_listener` but returns a Result<_> instead of - /// panicking + /// Same as `dispatch_with_listener` but returns a `Err(_)` instead of + /// panicking when the initial `get_me` call fails. /// /// Starts your bot with custom `update_listener` and /// `update_listener_error_handler`.