diff options
author | Stuart Stock <stuart@int08h.com> | 2017-07-03 17:18:08 -0500 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2017-07-03 17:18:35 -0500 |
commit | 3a2e9ecc0b3a91457f654e2dbf0b13097f18bfcf (patch) | |
tree | 6dd4ac5daa404cc7cb04c903e562ccd075fb736e /src/tag.rs | |
parent | 0e955f89eca384ad71721b2842412235e0aac472 (diff) | |
download | roughenough-3a2e9ecc0b3a91457f654e2dbf0b13097f18bfcf.zip |
add docstrings and cleanup whitespace
Diffstat (limited to 'src/tag.rs')
-rw-r--r-- | src/tag.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,10 +1,12 @@ /// An unsigned 32-bit value (key) that maps to a byte-string (value). -#[derive(Debug, Eq, PartialEq, Ord, PartialOrd)] +#[derive(Debug, PartialEq, PartialOrd)] 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, NONC, DELE, |