clippy: fix warning by implementing Eq

This commit is contained in:
Valentin Tolmer
2022-09-27 06:48:39 +02:00
committed by nitnelave
parent 516893f1f7
commit 6c21f2ef4b
13 changed files with 19 additions and 19 deletions

View File

@@ -28,7 +28,7 @@ pub struct CreateGroupForm {
form: yew_form::Form<CreateGroupModel>,
}
#[derive(Model, Validate, PartialEq, Clone, Default)]
#[derive(Model, Validate, PartialEq, Eq, Clone, Default)]
pub struct CreateGroupModel {
#[validate(length(min = 1, message = "Groupname is required"))]
groupname: String,