summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/src/models.rs
diff options
context:
space:
mode:
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 }
}
}