diff options
| author | Austin Hellyer <[email protected]> | 2016-11-10 17:09:24 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-10 17:09:24 -0800 |
| commit | b0e1a70418a629eb1cc71339c9ca6dc2ae0ec2a1 (patch) | |
| tree | dbea47d3cfcf983ba95411fd2e8af35f141cd807 /src/constants.rs | |
| parent | Implementing missing HTTP methods (diff) | |
| download | serenity-b0e1a70418a629eb1cc71339c9ca6dc2ae0ec2a1.tar.xz serenity-b0e1a70418a629eb1cc71339c9ca6dc2ae0ec2a1.zip | |
Fix some clippy lints
Diffstat (limited to 'src/constants.rs')
| -rw-r--r-- | src/constants.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/constants.rs b/src/constants.rs index c16c11c..7f71f5b 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -1,7 +1,5 @@ use ::prelude_internal::*; -/// The base URI for the API. -pub const API_BASE: &'static str = "https://discordapp.com/api/v6"; /// The gateway version used by the library. The gateway URI is retrieved via /// the REST API. pub const GATEWAY_VERSION: u8 = 6; @@ -10,6 +8,7 @@ pub const GATEWAY_VERSION: u8 = 6; /// [UserAgent]: ../hyper/header/struct.UserAgent.html pub const USER_AGENT: &'static str = concat!("DiscordBot (https://github.com/zeyla/serenity, ", env!("CARGO_PKG_VERSION"), ")"); +#[allow(dead_code)] #[derive(Clone, Copy, Debug, Eq, PartialEq)] pub enum ErrorCode { BotsCannotUse, |