diff options
| author | acdenisSK <[email protected]> | 2017-07-27 08:10:41 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-27 08:10:41 +0200 |
| commit | 70b5097aaac85f970c32ceb988dbb5f5d575ee0f (patch) | |
| tree | d2f391d3b552cfae58b74748a2a2aa5ae80c7986 /src/model/invite.rs | |
| parent | rustfmt (diff) | |
| download | serenity-70b5097aaac85f970c32ceb988dbb5f5d575ee0f.tar.xz serenity-70b5097aaac85f970c32ceb988dbb5f5d575ee0f.zip | |
Change the config a bit, and a few nitpicks
Diffstat (limited to 'src/model/invite.rs')
| -rw-r--r-- | src/model/invite.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/model/invite.rs b/src/model/invite.rs index 042faa3..f48ecbc 100644 --- a/src/model/invite.rs +++ b/src/model/invite.rs @@ -61,9 +61,7 @@ impl Invite { /// [Create Invite]: permissions/constant.CREATE_INVITE.html /// [permission]: permissions/index.html pub fn create<C, F>(channel_id: C, f: F) -> Result<RichInvite> - where - C: Into<ChannelId>, - F: FnOnce(CreateInvite) -> CreateInvite, { + where C: Into<ChannelId>, F: FnOnce(CreateInvite) -> CreateInvite { let channel_id = channel_id.into(); #[cfg(feature = "cache")] |