Remove some unused #[derive] (#473)

We used to need them, probably when we were using Tera.
This commit is contained in:
Baptiste Gelez
2019-03-12 19:40:54 +01:00
committed by GitHub
parent 6405bd7261
commit 42dca3daae
24 changed files with 23 additions and 37 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ use plume_models::{
use Worker;
use routes::errors::ErrorPage;
#[derive(Default, FromForm, Debug, Validate, Serialize)]
#[derive(Default, FromForm, Debug, Validate)]
pub struct NewCommentForm {
pub responding_to: Option<i32>,
#[validate(length(min = "1", message = "Your comment can't be empty"))]