diff options
Diffstat (limited to 'src/model/channel/reaction.rs')
| -rw-r--r-- | src/model/channel/reaction.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/model/channel/reaction.rs b/src/model/channel/reaction.rs index b2fdffd..5c1ee4d 100644 --- a/src/model/channel/reaction.rs +++ b/src/model/channel/reaction.rs @@ -1,4 +1,4 @@ -use model::*; +use model::prelude::*; use serde::de::{Deserialize, Error as DeError, MapAccess, Visitor}; use std::error::Error as StdError; use std::fmt::{Display, Formatter, Result as FmtResult, Write as FmtWrite}; @@ -270,7 +270,7 @@ impl From<char> for ReactionType { /// Reacting to a message with an apple: /// /// ```rust,no_run - /// # use serenity::model::ChannelId; + /// # use serenity::model::id::ChannelId; /// # use std::error::Error; /// # /// # fn try_main() -> Result<(), Box<Error>> { @@ -327,7 +327,7 @@ impl<'a> From<&'a str> for ReactionType { /// rest of the library: /// /// ```rust - /// use serenity::model::ReactionType; + /// use serenity::model::channel::ReactionType; /// /// fn foo<R: Into<ReactionType>>(bar: R) { /// println!("{:?}", bar.into()); |