diff options
author | Andreu Botella <abb@randomunok.com> | 2021-12-30 02:05:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-30 02:05:26 +0100 |
commit | 0ead12d673ecc8c19bdf77043550b80b8eb81475 (patch) | |
tree | b015dd80d596766c8e3e1e9f338ac6de10e49cd4 /ext | |
parent | 167982be9e7af35e6c12ef6c40c002200bf5e0c0 (diff) |
fix(doc): Make private types which show up in the rustdocs public (#13230)
`CrossIsolateStore`, `ExtensionBuilder` and `InMemoryChannelResource`
are private types which are referred to by other public APIs, and so
don't show up as links in the rustdoc. This is especially confusing for
`ExtensionBuilder`, since there is nothing in the docs that explains how
to build an extension.
Exposing these three types doesn't add any new capabilities:
`ExtensionBuilder` can be created from `Extension::builder()`,
`SharedArrayBufferStore` and `CompiledWasmModuleStore` already enable
doing anything that `CrossIsolateStore` can do by itself, and
`InMemoryChannelResource` isn't constructable.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/broadcast_channel/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs index b499d6fbf..ad6417558 100644 --- a/ext/broadcast_channel/lib.rs +++ b/ext/broadcast_channel/lib.rs @@ -3,6 +3,7 @@ mod in_memory_broadcast_channel; pub use in_memory_broadcast_channel::InMemoryBroadcastChannel; +pub use in_memory_broadcast_channel::InMemoryBroadcastChannelResource; use async_trait::async_trait; use deno_core::error::AnyError; |