Skip to content

Commit edbcd58

Browse files
committed
Try to fix the wasm codec export
1 parent de1d3c1 commit edbcd58

File tree

1 file changed

+3
-3
lines changed
  • crates/numcodecs-wasm-guest/src

1 file changed

+3
-3
lines changed

crates/numcodecs-wasm-guest/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,18 @@ pub mod bindings {
7474
/// export_codec!(MyCodec);
7575
/// ```
7676
macro_rules! export_codec {
77-
($codec:ty) => {{
77+
($codec:ty) => {
7878
type Codec = $codec;
7979

8080
const _: () = {
8181
const fn can_only_export_static_codec<T: $crate::numcodecs::StaticCodec>() {}
8282

83-
can_only_export_static_codec::<$codec>()
83+
can_only_export_static_codec::<Codec>()
8484
};
8585

8686
#[cfg(target_arch = "wasm32")]
8787
$crate::bindings::export!(Codec with_types_in $crate::bindings);
88-
}};
88+
};
8989
}
9090

9191
#[cfg(target_arch = "wasm32")]

0 commit comments

Comments
 (0)