diff options
| author | Zeyla Hellyer <[email protected]> | 2017-11-11 10:05:33 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-11-11 10:05:33 -0800 |
| commit | 348d52b50780109a77a5223d2ede8e0b9a490cfd (patch) | |
| tree | 1049f8ab6be8f9b22ec69a3746ae37a90c6f6a62 /src/model/guild/mod.rs | |
| parent | Simplify Error's `Display` impl (diff) | |
| download | serenity-348d52b50780109a77a5223d2ede8e0b9a490cfd.tar.xz serenity-348d52b50780109a77a5223d2ede8e0b9a490cfd.zip | |
Re-order use statements alphabetically
Diffstat (limited to 'src/model/guild/mod.rs')
| -rw-r--r-- | src/model/guild/mod.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/model/guild/mod.rs b/src/model/guild/mod.rs index 1e0ef7c..fe2150a 100644 --- a/src/model/guild/mod.rs +++ b/src/model/guild/mod.rs @@ -15,10 +15,10 @@ pub use self::role::*; pub use self::audit_log::*; use chrono::{DateTime, FixedOffset}; +use model::*; use serde::de::Error as DeError; use serde_json; use super::utils::*; -use model::*; #[cfg(all(feature = "cache", feature = "model"))] use CACHE; @@ -242,11 +242,11 @@ impl Guild { /// /// [`AuditLogs`]: audit_log/struct.AuditLogs.html #[inline] - pub fn audit_logs(&self, action_type: Option<u8>, - user_id: Option<UserId>, + pub fn audit_logs(&self, action_type: Option<u8>, + user_id: Option<UserId>, before: Option<AuditLogEntryId>, - limit: Option<u8>) -> Result<AuditLogs> { - self.id.audit_logs(action_type, user_id, before, limit) + limit: Option<u8>) -> Result<AuditLogs> { + self.id.audit_logs(action_type, user_id, before, limit) } /// Gets all of the guild's channels over the REST API. |