diff options
author | Stuart Stock <stuart@int08h.com> | 2018-03-17 05:28:59 -0500 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2018-03-17 05:36:13 -0500 |
commit | f80c952f6f25b09946a288a51be8016849957553 (patch) | |
tree | 0e0751ce86b8c8b9dacbc420219105be387787a5 /src/tag.rs | |
parent | 583bedf5e271cd2bd971118fab26c6976271afd6 (diff) | |
download | roughenough-f80c952f6f25b09946a288a51be8016849957553.zip |
Apply default rustfmt style to the project.
Diffstat (limited to 'src/tag.rs')
-rw-r--r-- | src/tag.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))), } } } |