From 61a0bcbdc68f3670669746e2c7e4769a17918797 Mon Sep 17 00:00:00 2001 From: Ivan Zvonimir Horvat Date: Mon, 16 Nov 2020 18:48:49 +0100 Subject: [PATCH] examples: threads.rs; fixed eun typo -> run (#2422) --- examples/threads.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/threads.rs b/examples/threads.rs index 5bef1f9540..b83a1da3ba 100644 --- a/examples/threads.rs +++ b/examples/threads.rs @@ -28,7 +28,7 @@ fn run(engine: &Engine, module: Module, id: i32) -> Result<()> { println!("Extracting export..."); let g = instance .get_func("run") - .ok_or(format_err!("failed to find export `eun`"))?; + .ok_or(format_err!("failed to find export `run`"))?; for _ in 0..N_REPS { thread::sleep(time::Duration::from_millis(100));