We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de1d3c1 commit edbcd58Copy full SHA for edbcd58
crates/numcodecs-wasm-guest/src/lib.rs
@@ -74,18 +74,18 @@ pub mod bindings {
74
/// export_codec!(MyCodec);
75
/// ```
76
macro_rules! export_codec {
77
- ($codec:ty) => {{
+ ($codec:ty) => {
78
type Codec = $codec;
79
80
const _: () = {
81
const fn can_only_export_static_codec<T: $crate::numcodecs::StaticCodec>() {}
82
83
- can_only_export_static_codec::<$codec>()
+ can_only_export_static_codec::<Codec>()
84
};
85
86
#[cfg(target_arch = "wasm32")]
87
$crate::bindings::export!(Codec with_types_in $crate::bindings);
88
- }};
+ };
89
}
90
91
0 commit comments