From 0d8a69189cc7e6dd57d39577a8dbfff386bb8ff1 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 3 Aug 2018 13:15:31 -0700 Subject: [PATCH] Remove unused `TableElement` struct. --- lib/runtime/src/module.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/runtime/src/module.rs b/lib/runtime/src/module.rs index e705910279..cc0d4fc62d 100644 --- a/lib/runtime/src/module.rs +++ b/lib/runtime/src/module.rs @@ -7,15 +7,6 @@ use cranelift_wasm::{ }; use std::collections::HashMap; -/// Possible values for a WebAssembly table element. -#[derive(Clone, Debug)] -pub enum TableElement { - /// A element that, if called, produces a trap. - Trap(), - /// A function. - Function(FunctionIndex), -} - /// A WebAssembly table initializer. #[derive(Clone, Debug)] pub struct TableElements {