summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/src/models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-15 15:07:12 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-15 15:07:12 -0700
commit525f21c871f4947196dc8348019d941e84bf6e3c (patch)
tree4d1b46c949c0a764affb7e744e08c937a916f258 /rust/fatcat-api/src/models.rs
parent2fd925e4eb3730c36519096e4a74b2de5998e8d4 (diff)
downloadfatcat-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.rs5
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 }
}
}