diff --git a/Cargo.toml b/Cargo.toml index f92faa7..8496f7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resast" -version = "0.6.0-alpha.2" +version = "0.6.0-alpha.3" authors = ["rfm "] edition = "2018" description = "Rusty-ECMAScript Abstract Syntax Tree" diff --git a/src/spanned/decl.rs b/src/spanned/decl.rs index 47335f4..89fb7db 100644 --- a/src/spanned/decl.rs +++ b/src/spanned/decl.rs @@ -255,7 +255,7 @@ impl Node for DefaultImportSpec { #[derive(Debug, Clone, PartialEq)] pub struct NamespaceImportSpec { pub star: Asterisk, - pub keyword: From, + pub keyword: As, pub ident: Ident, }