diff options
author | Stuart Stock <stuart@int08h.com> | 2018-10-21 17:30:57 -0500 |
---|---|---|
committer | Stuart Stock <stuart@int08h.com> | 2018-10-21 17:30:57 -0500 |
commit | 68788da97001f27702f5b9c7b2812dcab7bec24a (patch) | |
tree | 1f05a4ca7815e383705706ed758e10b81d068f03 /src/tag.rs | |
parent | 608e43e4843fef6081ce3cac2186e0291b73e0cb (diff) | |
download | roughenough-68788da97001f27702f5b9c7b2812dcab7bec24a.zip |
Changes to keep Clippy happy
Diffstat (limited to 'src/tag.rs')
-rw-r--r-- | src/tag.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,8 +40,8 @@ pub enum Tag { impl Tag { /// Translates a tag into its on-the-wire representation - pub fn wire_value(&self) -> &'static [u8] { - match *self { + pub fn wire_value(self) -> &'static [u8] { + match self { Tag::CERT => b"CERT", Tag::DELE => b"DELE", Tag::INDX => b"INDX", |