fix auth example
This commit is contained in:
parent
e5bdbf5d8d
commit
8de5366a35
@ -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<ActiveModel> for Entity {}
|
Loading…
Reference in New Issue
Block a user