diff options
| author | Zeyla Hellyer <[email protected]> | 2017-06-02 08:26:24 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-02 08:26:24 -0700 |
| commit | 7a96b8a1356e50b2bff5d5e03d43361a052517c6 (patch) | |
| tree | d0df182f288e959bd73f4c610c7af4f0dfacf5a8 /src/http | |
| parent | Add User::refresh (diff) | |
| download | serenity-7a96b8a1356e50b2bff5d5e03d43361a052517c6.tar.xz serenity-7a96b8a1356e50b2bff5d5e03d43361a052517c6.zip | |
Fix compilations across feature combinations
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs index 95d07ab..51bc153 100644 --- a/src/http/mod.rs +++ b/src/http/mod.rs @@ -1141,6 +1141,7 @@ pub fn get_guilds(target: &GuildPagination, limit: u64) -> Result<Vec<GuildInfo> } /// Gets information about a specific invite. +#[allow(unused_mut)] pub fn get_invite(code: &str, stats: bool) -> Result<Invite> { let mut invite = code; @@ -1451,7 +1452,7 @@ pub fn send_files<T: Into<AttachmentType>>(channel_id: u64, files: Vec<T>, map: }, AttachmentType::Path(p) => { request.write_file(&file_num, &p)?; - }, + }, } unsafe { |