summaryrefslogtreecommitdiff
path: root/src/tag.rs
diff options
context:
space:
mode:
authorStuart Stock <stuart@int08h.com>2018-10-21 17:30:57 -0500
committerStuart Stock <stuart@int08h.com>2018-10-21 17:30:57 -0500
commit68788da97001f27702f5b9c7b2812dcab7bec24a (patch)
tree1f05a4ca7815e383705706ed758e10b81d068f03 /src/tag.rs
parent608e43e4843fef6081ce3cac2186e0291b73e0cb (diff)
downloadroughenough-68788da97001f27702f5b9c7b2812dcab7bec24a.zip
Changes to keep Clippy happy
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 7996663..14d6b04 100644
--- a/src/tag.rs
+++ b/src/tag.rs
@@ -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",