diff options
| author | Lakelezz <[email protected]> | 2017-11-30 16:55:58 +0100 |
|---|---|---|
| committer | alex <[email protected]> | 2017-11-30 16:55:58 +0100 |
| commit | 031fc92e02c314cce9fc8febcc7900fa2d885941 (patch) | |
| tree | 3d847544001f36f502e39a41e2d86dbf3474a0f0 /src/constants.rs | |
| parent | Use `ToString`'s blanket impl for `Display`s (diff) | |
| download | serenity-031fc92e02c314cce9fc8febcc7900fa2d885941.tar.xz serenity-031fc92e02c314cce9fc8febcc7900fa2d885941.zip | |
Make help-commands customisable (#227)
Diffstat (limited to 'src/constants.rs')
| -rw-r--r-- | src/constants.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants.rs b/src/constants.rs index 05ac85e..9f1807a 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -12,7 +12,7 @@ pub const MESSAGE_CODE_LIMIT: u16 = 2000; /// The [UserAgent] sent along with every request. /// /// [UserAgent]: ../hyper/header/struct.UserAgent.html -pub const USER_AGENT: &'static str = concat!( +pub const USER_AGENT: &str = concat!( "DiscordBot (https://github.com/zeyla/serenity, ", env!("CARGO_PKG_VERSION"), ")" |