diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-07-31 18:25:02 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-07-31 18:25:02 +0200 |
commit | 706a887f9b5641d3aa609a0a8b4d3d68b659f653 (patch) | |
tree | cd83f32d5a109da0e978496bd594894c12f97730 /src | |
parent | d52ebade909350f7bf81d91ea158371b4ef62d46 (diff) | |
download | rocket-blog-706a887f9b5641d3aa609a0a8b4d3d68b659f653.tar.gz rocket-blog-706a887f9b5641d3aa609a0a8b4d3d68b659f653.tar.bz2 rocket-blog-706a887f9b5641d3aa609a0a8b4d3d68b659f653.zip |
Drop unused trait for struct NewUser
Diffstat (limited to 'src')
-rw-r--r-- | src/models/user.rs | 2 |
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, |