aboutsummaryrefslogtreecommitdiff
path: root/src/constants.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-27 08:10:41 +0200
committeracdenisSK <[email protected]>2017-07-27 08:10:41 +0200
commit70b5097aaac85f970c32ceb988dbb5f5d575ee0f (patch)
treed2f391d3b552cfae58b74748a2a2aa5ae80c7986 /src/constants.rs
parentrustfmt (diff)
downloadserenity-70b5097aaac85f970c32ceb988dbb5f5d575ee0f.tar.xz
serenity-70b5097aaac85f970c32ceb988dbb5f5d575ee0f.zip
Change the config a bit, and a few nitpicks
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/constants.rs b/src/constants.rs
index 91aef17..05ac85e 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -12,9 +12,11 @@ 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!("DiscordBot (https://github.com/zeyla/serenity, ",
- env!("CARGO_PKG_VERSION"),
- ")");
+pub const USER_AGENT: &'static str = concat!(
+ "DiscordBot (https://github.com/zeyla/serenity, ",
+ env!("CARGO_PKG_VERSION"),
+ ")"
+);
/// List of messages Discord shows on member join.
pub static JOIN_MESSAGES: &'static [&'static str] = &[