We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac1806c commit 599a96eCopy full SHA for 599a96e
2 files changed
.github/workflows/main.yml
@@ -46,6 +46,8 @@ jobs:
46
run: cargo check --no-default-features --features wit
47
- name: Build the `registry` feature
48
run: cargo check --no-default-features --features registry
49
+ - name: Build the `serde` feature
50
+ run: cargo check --no-default-features --features serde
51
- name: Build all features
52
run: cargo check --all-features
53
crates/wac-types/src/component.rs
@@ -100,7 +100,7 @@ impl fmt::Display for WorldId {
100
pub struct ModuleTypeId(Id<ModuleType>);
101
102
#[cfg(feature = "serde")]
103
-impl serde::Serialize for ModuleId {
+impl serde::Serialize for ModuleTypeId {
104
fn serialize<S: serde::Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error> {
105
self.0.index().serialize(serializer)
106
}
0 commit comments