From 160b64427d79290a59ac48c9babca064232d8dfd Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Sat, 9 May 2026 20:47:04 +0300 Subject: Make project structure more consistent --- compiler/src/ast/tests.rs | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'compiler/src/ast/tests.rs') diff --git a/compiler/src/ast/tests.rs b/compiler/src/ast/tests.rs index c6d8c38..8905427 100644 --- a/compiler/src/ast/tests.rs +++ b/compiler/src/ast/tests.rs @@ -1,14 +1,10 @@ -use std::f64; -use std::fmt::Debug; -use std::iter::repeat_n; -use std::rc::Rc; - -use self::E::*; -use super::{Error, Parser, parser::MAX_DEPTH}; -use crate::ast::{Atom, Expr}; -use crate::lexer::Token; -use crate::lexer::Token::*; -use crate::span::{Pos, Span, Spanned}; +use std::{fmt::Debug, iter::repeat_n, rc::Rc}; + +use crate::{ + ast::{Atom, Error, Expr, Parser, parser::MAX_DEPTH, tests::E::*}, + lex::Token::{self, *}, + span::{Pos, Span, Spanned}, +}; #[derive(Debug, PartialEq)] enum E { -- cgit v1.3