Skip to content

Commit

Permalink
Fixed clippy warnings (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
imnotbad authored and arqunis committed Jun 28, 2017
1 parent c68d4d5 commit e1912c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,10 @@

#[macro_use]
extern crate bitflags;
#[allow(unused_imports)]
#[macro_use]
extern crate log;
#[macro_use]
extern crate serde_derive;
#[allow(unused_imports)]
#[macro_use]
extern crate serde_json;

Expand Down
2 changes: 1 addition & 1 deletion src/model/guild/member.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl Member {
/// [`guild_id`]: #structfield.guild_id
#[deprecated(since="0.2.1", note="Use the `guild_id` structfield instead.")]
pub fn find_guild(&self) -> Result<GuildId> {
return Ok(self.guild_id);
Ok(self.guild_id)
}

/// Kick the member from the guild.
Expand Down

0 comments on commit e1912c2

Please sign in to comment.