From bccf17f5c01c14aa1adfbd936e6aa8cbca6ed4bd Mon Sep 17 00:00:00 2001 From: Lars Strojny Date: Thu, 19 Jan 2023 00:17:24 +0100 Subject: [PATCH] Remove Hash from tide example Signed-off-by: Lars Strojny --- examples/tide.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tide.rs b/examples/tide.rs index f90f6a45..ede2363f 100644 --- a/examples/tide.rs +++ b/examples/tide.rs @@ -44,13 +44,13 @@ async fn main() -> std::result::Result<(), std::io::Error> { Ok(()) } -#[derive(Clone, Debug, Hash, PartialEq, Eq, PartialOrd, Ord, EncodeLabelSet)] +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, EncodeLabelSet)] struct Labels { method: Method, path: String, } -#[derive(Clone, Debug, Hash, PartialEq, Eq, PartialOrd, Ord, EncodeLabelValue)] +#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, EncodeLabelValue)] enum Method { Get, Put,