diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-15 15:07:12 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-15 15:07:12 -0700 |
commit | 525f21c871f4947196dc8348019d941e84bf6e3c (patch) | |
tree | 4d1b46c949c0a764affb7e744e08c937a916f258 /rust/fatcat-api/src/models.rs | |
parent | 2fd925e4eb3730c36519096e4a74b2de5998e8d4 (diff) | |
download | fatcat-525f21c871f4947196dc8348019d941e84bf6e3c.tar.gz fatcat-525f21c871f4947196dc8348019d941e84bf6e3c.zip |
make cargo fmt succeed by default
Diffstat (limited to 'rust/fatcat-api/src/models.rs')
-rw-r--r-- | rust/fatcat-api/src/models.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/rust/fatcat-api/src/models.rs b/rust/fatcat-api/src/models.rs index 3d104b78..5e5be35f 100644 --- a/rust/fatcat-api/src/models.rs +++ b/rust/fatcat-api/src/models.rs @@ -145,10 +145,7 @@ pub struct Editgroup { impl Editgroup { pub fn new(id: isize, editor_id: isize) -> Editgroup { - Editgroup { - id: id, - editor_id: editor_id, - } + Editgroup { id: id, editor_id: editor_id } } } |