aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/api_wrappers.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-11 09:39:21 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-11 09:39:21 -0700
commit98f21fe69e0361db00e5fbceb7a3168dcb926d32 (patch)
tree997e318b24f52ccbacbdfb149a203e4e3bac486f /rust/src/api_wrappers.rs
parentb15fa552e288bec5bbc2b07a3e11bab9235a1e7c (diff)
downloadfatcat-98f21fe69e0361db00e5fbceb7a3168dcb926d32.tar.gz
fatcat-98f21fe69e0361db00e5fbceb7a3168dcb926d32.zip
rust clippy (lint) tweaks
Diffstat (limited to 'rust/src/api_wrappers.rs')
-rw-r--r--rust/src/api_wrappers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/api_wrappers.rs b/rust/src/api_wrappers.rs
index f6425c8c..4d3373e2 100644
--- a/rust/src/api_wrappers.rs
+++ b/rust/src/api_wrappers.rs
@@ -36,7 +36,7 @@ macro_rules! wrap_entity_handlers {
// No transaction for GET
let ret = match conn.transaction(|| {
let entity_id = FatCatId::from_str(&id)?;
- self.$get_handler(entity_id, expand, &conn)
+ self.$get_handler(entity_id, &expand, &conn)
}) {
Ok(entity) =>
$get_resp::FoundEntity(entity),