MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / docs

Method docs

crates/cpp/src/lib.rs:1784–1792  ·  view source on GitHub ↗
(src: &mut Source, docs: &Docs)

Source from the content-addressed store, hash-verified

1782 }
1783
1784 fn docs(src: &mut Source, docs: &Docs) {
1785 if let Some(docs) = docs.contents.as_ref() {
1786 for line in docs.trim().lines() {
1787 src.push_str("/// ");
1788 src.push_str(line);
1789 src.push_str("\n");
1790 }
1791 }
1792 }
1793
1794 fn type_record_param(
1795 &mut self,

Callers

nothing calls this directly

Calls 1

push_strMethod · 0.45

Tested by

no test coverage detected