From cebbc2b607dcdbd1de6f83be5d93ddc06c4d68ac Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Wed, 23 Dec 2020 12:11:53 +0800 Subject: [PATCH] Fix duplicate Ident export. --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ab0b5c1c..946fda30 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -179,9 +179,7 @@ pub use token::{get_next_token, parse_string_literal, InputStream, Token, Tokeni #[cfg(feature = "internals")] #[deprecated(note = "this type is volatile and may change")] -pub use ast::{ - BinaryExpr, CustomExpr, Expr, FnCallExpr, Ident, Ident, ReturnType, ScriptFnDef, Stmt, -}; +pub use ast::{BinaryExpr, CustomExpr, Expr, FnCallExpr, Ident, ReturnType, ScriptFnDef, Stmt}; #[cfg(feature = "internals")] #[deprecated(note = "this type is volatile and may change")]