diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-07-24 17:08:31 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-07-24 17:08:31 -0700 |
commit | f080bf59d9dcdd95376b6c8a128070c6528e2167 (patch) | |
tree | 79883ca26f916583cd00a147bcc92108ac3a8e5c /rust/src/api_helpers.rs | |
parent | ea2f4486d7c2e7c6a688ca11aa7db75f622887d3 (diff) | |
download | fatcat-f080bf59d9dcdd95376b6c8a128070c6528e2167.tar.gz fatcat-f080bf59d9dcdd95376b6c8a128070c6528e2167.zip |
whole bunch of clippy fixes
Diffstat (limited to 'rust/src/api_helpers.rs')
-rw-r--r-- | rust/src/api_helpers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/api_helpers.rs b/rust/src/api_helpers.rs index 14d3dd5e..f0f56a6b 100644 --- a/rust/src/api_helpers.rs +++ b/rust/src/api_helpers.rs @@ -59,7 +59,7 @@ pub fn accept_editgroup(editgroup_id: Uuid, conn: &PgConnection) -> Result<Chang */ // Sketchy... but fast? Only a few queries per accept. - for entity in ["container", "creator", "file", "work", "release"].iter() { + for entity in &["container", "creator", "file", "work", "release"] { diesel::sql_query(format!( " UPDATE {entity}_ident |