Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Nov 14, 2024
1 parent 5ac3a22 commit d63c344
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions crates/bindings/src/wasm_traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub mod prelude {
#[macro_export]
macro_rules! impl_main_wasm_traits {
($struct_name:path) => {{
use $crate::wasm_traits::prelude::*;
pub use $crate::wasm_traits::prelude::*;

impl WasmDescribe for $struct_name {
#[inline]
Expand Down Expand Up @@ -61,7 +61,7 @@ macro_rules! impl_main_wasm_traits {
#[macro_export]
macro_rules! impl_complementary_wasm_traits {
($struct_name:path) => {{
use $crate::wasm_traits::prelude::*;
pub use $crate::wasm_traits::prelude::*;

impl RefFromWasmAbi for $struct_name {
type Abi = <JsValue as RefFromWasmAbi>::Abi;
Expand Down
1 change: 0 additions & 1 deletion crates/quote/src/js_api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use serde_wasm_bindgen::to_value;
use std::str::FromStr;
use tsify::Tsify;
use wasm_bindgen::prelude::*;
use wasm_bindgen::{convert::*, describe::WasmDescribe, JsValue, UnwrapThrowExt};

mod impls;

Expand Down
4 changes: 2 additions & 2 deletions crates/subgraph/src/multi_orderbook_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ pub struct MultiSubgraphArgs {
#[cfg(target_family = "wasm")]
mod wasm_impls {
use super::*;
use rain_orderbook_bindings::d;
use rain_orderbook_bindings::impl_all_wasm_traits;

d!(MultiSubgraphArgs);
impl_all_wasm_traits!(MultiSubgraphArgs);
}

pub struct MultiOrderbookSubgraphClient {
Expand Down

0 comments on commit d63c344

Please sign in to comment.