aboutsummaryrefslogtreecommitdiffstats
path: root/src/models
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-07-31 18:25:02 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-07-31 18:25:02 +0200
commit706a887f9b5641d3aa609a0a8b4d3d68b659f653 (patch)
treecd83f32d5a109da0e978496bd594894c12f97730 /src/models
parentd52ebade909350f7bf81d91ea158371b4ef62d46 (diff)
downloadrocket-blog-706a887f9b5641d3aa609a0a8b4d3d68b659f653.tar.gz
rocket-blog-706a887f9b5641d3aa609a0a8b4d3d68b659f653.tar.bz2
rocket-blog-706a887f9b5641d3aa609a0a8b4d3d68b659f653.zip
Drop unused trait for struct NewUser
Diffstat (limited to 'src/models')
-rw-r--r--src/models/user.rs2
1 files changed, 1 insertions, 1 deletions
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,