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