Streamline ScriptFnDef.

This commit is contained in:
Stephen Chung
2020-11-04 12:34:54 +08:00
parent f75942715d
commit c287a61b93
3 changed files with 20 additions and 9 deletions

View File

@@ -2485,7 +2485,6 @@ fn parse_fn(
#[cfg(not(feature = "no_closure"))]
externals,
body,
pos: settings.pos,
lib: None,
})
}
@@ -2655,7 +2654,6 @@ fn parse_anon_fn(
#[cfg(not(feature = "no_closure"))]
externals: Default::default(),
body,
pos: settings.pos,
lib: None,
};