From 706a887f9b5641d3aa609a0a8b4d3d68b659f653 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 31 Jul 2018 18:25:02 +0200 Subject: Drop unused trait for struct NewUser --- src/models/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/models/user.rs b/src/models/user.rs index 7f6fe88..0345e92 100644 --- a/src/models/user.rs +++ b/src/models/user.rs @@ -47,7 +47,7 @@ impl User { } } -#[derive(Default, FromForm, Insertable)] +#[derive(Default, Insertable)] #[table_name="users"] pub struct NewUser { pub username: String, -- cgit v1.2.3