Skip to content

Commit f1725d6

Browse files
committed
Fix compilation errors
1 parent 7fce4f7 commit f1725d6

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

modules/tpcc/src/new_order.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
use std::collections::HashMap;
22

33
use crate::{
4-
district, find_customer_by_id, find_district, find_stock, find_warehouse, item, order_line, pack_order_key,
5-
remote::{remote_warehouse_home, simulate_remote_call},
6-
stock, District, Item, OrderLine, Stock, WarehouseId, DISTRICTS_PER_WAREHOUSE, TAX_SCALE,
4+
DISTRICTS_PER_WAREHOUSE, District, Item, OrderLine, Stock, TAX_SCALE, WarehouseId, district, find_customer_by_id, find_district, find_stock, find_warehouse, item, order_line, pack_order_key, remote::{call_remote_reducer, remote_warehouse_home, simulate_remote_call}, stock
75
};
86
use spacetimedb::{log_stopwatch::LogStopwatch, reducer, Identity, ReducerContext, SpacetimeType, Table, Timestamp};
97

modules/tpcc/src/payment.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
use crate::{
2-
customer, district, find_district, find_warehouse, history,
3-
remote::{remote_warehouse_home, simulate_remote_call},
4-
resolve_customer, warehouse, Customer, CustomerSelector, District, History, Warehouse, MAX_C_DATA_LEN,
2+
Customer, CustomerSelector, District, History, MAX_C_DATA_LEN, Warehouse, customer, district, find_district, find_warehouse, history, remote::{call_remote_reducer, remote_warehouse_home, simulate_remote_call}, resolve_customer, warehouse
53
};
64
use spacetimedb::{
75
log_stopwatch::LogStopwatch, procedure, reducer, Identity, ProcedureContext, ReducerContext, SpacetimeType, Table,

0 commit comments

Comments
 (0)