summaryrefslogtreecommitdiff
path: root/src/tag.rs
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2018-03-17 05:28:59 -0500
committerStuart Stock <stuart@int08h.com>2018-03-17 05:36:13 -0500
commitf80c952f6f25b09946a288a51be8016849957553 (patch)
tree0e0751ce86b8c8b9dacbc420219105be387787a5 /src/tag.rs
parent583bedf5e271cd2bd971118fab26c6976271afd6 (diff)
downloadroughenough-f80c952f6f25b09946a288a51be8016849957553.zip
Apply default rustfmt style to the project.
Diffstat (limited to 'src/tag.rs')
-rw-r--r--src/tag.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tag.rs b/src/tag.rs
index 4ec02b0..2b9c1f4 100644
--- a/src/tag.rs
+++ b/src/tag.rs
@@ -19,7 +19,7 @@ use error::Error;
pub enum Tag {
// Enforcement of the "tags in strictly increasing order" rule is done using the
// little-endian encoding of the ASCII tag value; e.g. 'SIG\x00' is 0x00474953 and
- // 'NONC' is 0x434e4f4e.
+ // 'NONC' is 0x434e4f4e.
//
// Tags are written here in ascending order
SIG,
@@ -75,7 +75,7 @@ impl Tag {
b"ROOT" => Ok(Tag::ROOT),
b"SIG\x00" => Ok(Tag::SIG),
b"SREP" => Ok(Tag::SREP),
- _ => Err(Error::InvalidTag(Box::from(bytes)))
+ _ => Err(Error::InvalidTag(Box::from(bytes))),
}
}
}