diff --git a/src/encoding/never.rs b/src/encoding/never.rs index 85cb906..344d180 100644 --- a/src/encoding/never.rs +++ b/src/encoding/never.rs @@ -13,22 +13,22 @@ impl Encoding for Never { type UnionMembers = Never; fn descriptor(&self) -> Descriptor { - match self { } + match *self { } } } impl Encodings for Never { fn each(&self, _: &mut F) { - match self { } + match *self { } } fn eq_encodings(&self, _: &E) -> bool { - match self { } + match *self { } } } impl fmt::Display for Never { fn fmt(&self, _: &mut fmt::Formatter) -> fmt::Result { - match self { } + match *self { } } }