Rename parse_elements_section.

In WebAssembly documentation, it's the "element" section.
This commit is contained in:
Dan Gohman
2018-10-18 22:44:51 -07:00
parent 54ab1ea533
commit 8cd1b87917
2 changed files with 4 additions and 4 deletions

View File

@@ -360,8 +360,8 @@ pub fn parse_table_section(parser: &mut Parser, environ: &mut ModuleEnvironment)
Ok(())
}
/// Retrieves the tables from the table section
pub fn parse_elements_section(
/// Retrieves the elements from the element section
pub fn parse_element_section(
parser: &mut Parser,
environ: &mut ModuleEnvironment,
) -> WasmResult<()> {