diff options
| author | Austin Hellyer <[email protected]> | 2017-01-08 08:45:17 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2017-01-08 08:45:17 -0800 |
| commit | a658105f7499efe994280906e85fd51c2b70c3a7 (patch) | |
| tree | 4c8af6a353b9fece3f5a9d9a9e7a90f25d53cc79 /src/model/user.rs | |
| parent | Wait 5s between shard boots (diff) | |
| download | serenity-a658105f7499efe994280906e85fd51c2b70c3a7.tar.xz serenity-a658105f7499efe994280906e85fd51c2b70c3a7.zip | |
Code style cleanup
Diffstat (limited to 'src/model/user.rs')
| -rw-r--r-- | src/model/user.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/model/user.rs b/src/model/user.rs index 4875e6f..d5d7027 100644 --- a/src/model/user.rs +++ b/src/model/user.rs @@ -222,7 +222,6 @@ impl User { /// [`GuildId`]: struct.GuildId.html /// [`Role`]: struct.Role.html /// [`Cache`]: ../ext/cache/struct.Cache.html - #[allow(unused_variables)] // no-cache would warn on guild_id. pub fn has_role<G, R>(&self, guild: G, role: R) -> bool where G: Into<GuildContainer>, R: Into<RoleId> { |