diff --git a/crates/markdown/src/lib.rs b/crates/markdown/src/lib.rs index d349c1d04..a1d23d627 100644 --- a/crates/markdown/src/lib.rs +++ b/crates/markdown/src/lib.rs @@ -508,9 +508,10 @@ impl<'a> wit_bindgen_core::InterfaceGenerator<'a> for InterfaceGenerator<'a> { } } - fn type_resource(&mut self, id: TypeId, name: &str, docs: &Docs) { - _ = (id, name, docs); - todo!() + fn type_resource(&mut self, _id: TypeId, name: &str, docs: &Docs) { + self.print_type_header("resource", name); + self.push_str("\n"); + self.docs(docs); } fn type_tuple(&mut self, _id: TypeId, name: &str, tuple: &Tuple, docs: &Docs) {