mirror of
https://github.com/fluencelabs/parity-wasm
synced 2025-06-03 10:01:39 +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) => {
|
Section::Name(ref name_section) => {
|
||||||
let function_name_subsection = name_section
|
let function_name_subsection = name_section
|
||||||
.function_name_subsection()
|
.function_name_subsection()
|
||||||
.expect("function_name_subsection should presence");
|
.expect("function_name_subsection should be present");
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
function_name_subsection.names().get(0).expect("Should be entry #0"),
|
function_name_subsection.names().get(0).expect("Should be entry #0"),
|
||||||
"elog"
|
"elog"
|
||||||
|
@ -24,8 +24,8 @@ pub struct NameSection {
|
|||||||
impl NameSection {
|
impl NameSection {
|
||||||
/// Creates a new name section.
|
/// Creates a new name section.
|
||||||
pub fn new(module_name_subsection: Option<ModuleNameSubsection>,
|
pub fn new(module_name_subsection: Option<ModuleNameSubsection>,
|
||||||
function_name_subsection: Option<FunctionNameSubsection>,
|
function_name_subsection: Option<FunctionNameSubsection>,
|
||||||
local_name_subsection: Option<LocalNameSubsection>) -> Self {
|
local_name_subsection: Option<LocalNameSubsection>) -> Self {
|
||||||
Self {
|
Self {
|
||||||
module_name_subsection,
|
module_name_subsection,
|
||||||
function_name_subsection,
|
function_name_subsection,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user