Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 7429925

Browse files
committed
Remove unnecessary static bound
1 parent a55c3ff commit 7429925

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/wasmtime/src/runtime/component

crates/wasmtime/src/runtime/component/linker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ impl<T: 'static> Linker<T> {
319319
use wasmtime_environ::component::ComponentTypes;
320320
use wasmtime_environ::component::TypeDef;
321321
// Recursively stub out all imports of the component with a function that traps.
322-
fn stub_item<T: 'static>(
322+
fn stub_item<T>(
323323
linker: &mut LinkerInstance<T>,
324324
item_name: &str,
325325
item_def: &TypeDef,

0 commit comments

Comments
 (0)