From bc089f9eaa0805bd200cfa3112901d877c059faf Mon Sep 17 00:00:00 2001 From: vic1707 <28602203+vic1707@users.noreply.github.com> Date: Wed, 20 Sep 2023 18:52:30 +0200 Subject: [PATCH] no export of `Element` --- src/lib.rs | 1 - src/parser.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 1198966..c920eb0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,5 +7,4 @@ mod token; mod trust_me; mod yeet; /* Exports */ -pub use element::Element; pub use parser::Parser; diff --git a/src/parser.rs b/src/parser.rs index 61f5a35..eed1914 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -2,11 +2,10 @@ use core::str; /* Crate imports */ use crate::{ - element::{BinOp, FunctionCall, UnOp}, + element::{BinOp, Element, FunctionCall, UnOp}, token::{Identifier, Operator}, trust_me::trust_me, yeet::yeet, - Element, }; /* Constants */ pub const NO_PERCEDENCE: usize = 0;