diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-10 18:11:01 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-10 18:11:01 -0700 |
commit | d57a807ee0481fd6534307f0870a0f96ea19cd25 (patch) | |
tree | dc21d4ad10393f5d86e31787be7ba35adc783583 | |
parent | 70144145ee627f521ee7a9d5020dce2cb2b96373 (diff) | |
download | fatcat-d57a807ee0481fd6534307f0870a0f96ea19cd25.tar.gz fatcat-d57a807ee0481fd6534307f0870a0f96ea19cd25.zip |
squelch unused macro warning
-rw-r--r-- | rust/src/api_entity_crud.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/src/api_entity_crud.rs b/rust/src/api_entity_crud.rs index 01323637..e59b47b8 100644 --- a/rust/src/api_entity_crud.rs +++ b/rust/src/api_entity_crud.rs @@ -333,6 +333,7 @@ macro_rules! generic_db_get_history { // UPDATE FROM version: single query for many rows // Works with Postgres, not Cockroach +#[allow(unused_macros)] macro_rules! generic_db_accept_edits_batch { ($entity_name_str:expr) => { fn db_accept_edits( @@ -361,6 +362,7 @@ macro_rules! generic_db_accept_edits_batch { // UPDATE ROW version: single query per row // CockroachDB version (slow, single query per row) +#[allow(unused_macros)] macro_rules! generic_db_accept_edits_each { ($ident_table:ident, $edit_table:ident) => { fn db_accept_edits( |