From 8de5366a3555ad4ea0317f05f3860df77ac43971 Mon Sep 17 00:00:00 2001 From: manuel Date: Sun, 8 Jan 2023 15:50:12 +0100 Subject: [PATCH] fix auth example --- examples/azure_auth/entity/post.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/examples/azure_auth/entity/post.rs b/examples/azure_auth/entity/post.rs index 98f911e..b62977c 100644 --- a/examples/azure_auth/entity/post.rs +++ b/examples/azure_auth/entity/post.rs @@ -67,13 +67,4 @@ impl FromStr for Tea { } } -impl Display for Tea { - fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { - match &*self { - Tea::EverydayTea => write!(formatter, "{}", String::from("EverydayTea")), - Tea::BreakfastTea => write!(formatter, "{}", String::from("BreakfastTea")), - } - } -} - impl ActixAdminModelValidationTrait for Entity {} \ No newline at end of file