From 0eff10688aead4340ee3630a1cfa42b4b21b8fd3 Mon Sep 17 00:00:00 2001 From: xqtc Date: Mon, 22 Jul 2024 10:18:57 +0200 Subject: [PATCH] Some restructuring --- src/lex/mod.rs | 1 + src/{ => lex}/util.rs | 0 src/lib.rs | 1 - src/tokens.rs | 4 ---- 4 files changed, 1 insertion(+), 5 deletions(-) rename src/{ => lex}/util.rs (100%) diff --git a/src/lex/mod.rs b/src/lex/mod.rs index 8589472..223ac48 100644 --- a/src/lex/mod.rs +++ b/src/lex/mod.rs @@ -1,2 +1,3 @@ pub mod handlers; pub mod lexer; +pub mod util; diff --git a/src/util.rs b/src/lex/util.rs similarity index 100% rename from src/util.rs rename to src/lex/util.rs diff --git a/src/lib.rs b/src/lib.rs index a380670..cde5695 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,7 +26,6 @@ pub mod lex; mod tokens; -mod util; // #[cfg(test)] // mod tests { diff --git a/src/tokens.rs b/src/tokens.rs index 66b607b..dc99c7f 100644 --- a/src/tokens.rs +++ b/src/tokens.rs @@ -1,7 +1,3 @@ -#![allow(non_camel_case_types)] -#![allow(non_snake_case)] -#![allow(nonstandard_style)] - // https://www.khronos.org/opengl/wiki/Data_Type_(GLSL) #[derive(Debug, Clone, PartialEq)]