Update crates/teloxide/src/dispatching/dispatcher.rs

Co-authored-by: Waffle Maybe <waffle.lapkin@gmail.com>
This commit is contained in:
Jérôme Rx 2023-09-23 22:10:13 +02:00 committed by GitHub
parent a38e91d12c
commit 1452695a15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`.