bytecodealliance / bytecodealliance/wasmtime
wasmtime::component::bindgen! generated doc-comments have an extra `/`
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 121
Description
With:
```toml
wasmtime = { version = "41.0.3", features = ["component-model"] }
```
When I expand the code generated by this macro:
```rust
wasmtime::component::bindgen!({
world: "plugin",
path: "../wit",
});
```
There appears to be additional `/` ending up in the actual doc comments:
```rust
#[doc = "/ Auto-generated bindings for a pre-instantiated version of a"]
#[doc = "/ component which implements the world `plugin`."]
#[doc = "/"]
#[doc = "/ This structure is created through [`PluginPre::new`] which"]
#[doc = "/ takes a [`InstancePre`](wasmtime::component::InstancePre) that"]
#[doc = "/ has been created through a [`Linker`](wasmtime::component::Linker)."]
#[doc = "/"]
#[doc = "/ For more information see [`Plugin`] as well."]
pub struct PluginPre {
instance_pre: wasmtime::component::InstancePre,
indices: PluginIndices,
}
```
Contributor guide
Assessment
This issue has not been assessed yet.