mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-02 01:21:34 +00:00
fix cmt and identation
This commit is contained in:
parent
4ac9dccc7d
commit
3c8851a5b2
@ -766,7 +766,7 @@ mod integration_tests {
|
||||
Section::Name(ref name_section) => {
|
||||
let function_name_subsection = name_section
|
||||
.function_name_subsection()
|
||||
.expect("function_name_subsection should presence");
|
||||
.expect("function_name_subsection should be present");
|
||||
assert_eq!(
|
||||
function_name_subsection.names().get(0).expect("Should be entry #0"),
|
||||
"elog"
|
||||
|
@ -24,8 +24,8 @@ pub struct NameSection {
|
||||
impl NameSection {
|
||||
/// Creates a new name section.
|
||||
pub fn new(module_name_subsection: Option<ModuleNameSubsection>,
|
||||
function_name_subsection: Option<FunctionNameSubsection>,
|
||||
local_name_subsection: Option<LocalNameSubsection>) -> Self {
|
||||
function_name_subsection: Option<FunctionNameSubsection>,
|
||||
local_name_subsection: Option<LocalNameSubsection>) -> Self {
|
||||
Self {
|
||||
module_name_subsection,
|
||||
function_name_subsection,
|
||||
|
Loading…
x
Reference in New Issue
Block a user