From 36f146580e42a122800bf68879841a4a65d6f2b3 Mon Sep 17 00:00:00 2001 From: Waffle Date: Sat, 21 Sep 2019 01:22:31 +0300 Subject: [PATCH] Fix build after resolving conflicts --- src/dispatcher/simple/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dispatcher/simple/mod.rs b/src/dispatcher/simple/mod.rs index c3271a03..f3be25b5 100644 --- a/src/dispatcher/simple/mod.rs +++ b/src/dispatcher/simple/mod.rs @@ -5,7 +5,7 @@ use crate::{ filter::Filter, handler::Handler, }, - core::types::{ + types::{ Update, Message, UpdateKind, @@ -110,7 +110,7 @@ impl Dispatcher { where S: Stream { - use futures_util::stream::StreamExt; + use futures::StreamExt; let dp = &*self; @@ -202,7 +202,7 @@ mod tests { #[tokio::test] async fn test() { use crate::{ - core::types::{ + types::{ Message, ChatKind, MessageKind, Sender, ForwardKind, MediaKind, Chat, User, Update, UpdateKind }, dispatcher::simple::Dispatcher, @@ -221,7 +221,7 @@ mod tests { username: Some("WaffleLapkin".to_string()), }, }, - message_kind: MessageKind::IncomingMessage { + kind: MessageKind::Common { from: Sender::User(User { id: 457569668, is_bot: true,