Skip to content

Commit 5779089

Browse files
committed
Fix wasm codec export macro expansion
1 parent 2f1f894 commit 5779089

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ macro_rules! export_codec {
8787
$crate::bindings::export!(Codec with_types_in $crate::bindings);
8888
};
8989

90-
const _: () {
90+
const _: () = {
9191
const fn can_only_export_static_codec<T: $crate::numcodecs::StaticCodec>() {}
9292

9393
can_only_export_static_codec::<$codec>()

0 commit comments

Comments
 (0)