aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-08-18 20:50:23 -0700
committerZeyla Hellyer <[email protected]>2017-08-18 20:50:23 -0700
commitea72d05cf755d06d5c7da190e5d240fe4d77038c (patch)
tree9cf159a0b15c7819f2dfc2fb20e9c6d62dbf152b /src/internal
parentClippy lints (diff)
downloadserenity-ea72d05cf755d06d5c7da190e5d240fe4d77038c.tar.xz
serenity-ea72d05cf755d06d5c7da190e5d240fe4d77038c.zip
Fix rustfmt lines that are too long
Apparently rustfmt can't fix some of these, causing it to exit with 3 and therefore failing the build.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/macros.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal/macros.rs b/src/internal/macros.rs
index 7672316..124aa04 100644
--- a/src/internal/macros.rs
+++ b/src/internal/macros.rs
@@ -151,7 +151,8 @@ macro_rules! enum_number {
impl<'de> ::serde::de::Visitor<'de> for Visitor {
type Value = $name;
- fn expecting(&self, formatter: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
+ fn expecting(&self, formatter: &mut ::std::fmt::Formatter)
+ -> ::std::fmt::Result {
formatter.write_str("positive integer")
}