Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

Rename trappable_imports to trappable in macro documentation (#11674)

​Andrzej Ressela80bbdf97dbf
diff --git a/crates/wasmtime/src/runtime/component/mod.rs b/crates/wasmtime/src/runtime/component/mod.rs
index 98d9bdce57..3497eaf5bb 100644
--- a/crates/wasmtime/src/runtime/component/mod.rs
+++ b/crates/wasmtime/src/runtime/component/mod.rs
@@ -390,7 +390,7 @@ pub(crate) use self::store::ComponentStoreData;
/// // return the raw WIT error (`ErrorType` here) or a trap.
/// //
/// // By default this option is not specified. This option only takes
-/// // effect when `trappable_imports` is set for some imports.
+/// // effect when `trappable` is set for some imports.
/// trappable_error_type: {
/// "wasi:io/streams/stream-error" => RustErrorType,
/// },