Skip to content

Commit ab55f63

Browse files
Document the bool field in wast::core::FuncKind::Import (#2457)
1 parent b646b64 commit ab55f63

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/wast/src/core/func.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ pub enum FuncKind<'a> {
3333
/// ```text
3434
/// (func (type 3) (import "foo" "bar"))
3535
/// ```
36+
///
37+
/// The second element (`bool`) of the tuple means whether the function is _exact_. This concept is part of the custom descriptors proposal.
3638
Import(InlineImport<'a>, bool),
3739

3840
/// Almost all functions, those defined inline in a wasm module.

0 commit comments

Comments
 (0)