From 553b1666a6a2c59162a03987abc0b95986f19a70 Mon Sep 17 00:00:00 2001 From: Waffle <wafflewafflerov@gmail.com> Date: Sun, 6 Oct 2019 11:21:18 +0300 Subject: [PATCH] Fyx typo --- src/dispatcher/simple/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatcher/simple/mod.rs b/src/dispatcher/simple/mod.rs index 87d8575f..63ce3a28 100644 --- a/src/dispatcher/simple/mod.rs +++ b/src/dispatcher/simple/mod.rs @@ -64,7 +64,7 @@ type Handlers<'a, T, E> = Vec<(Box<dyn Filter<T> + 'a>, Box<dyn Handler<'a, T, E /// }) /// // Add 'handler' that will handle all /// // messages edited in chat with the bot -/// .edited_message_handler(true, edit); +/// .edited_message_handler(true, handle_edited_message); /// /// // Start dispatching updates from long polling /// dp.dispatch(polling(&bot)).await;