From 5f69cf3f4e07e1e6664635e56ffcb416652ae680 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 667c88c..b3cf092 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;