From cdfe287b730a748f0601da2bc471d056c72c0559 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Tue, 1 Aug 2023 10:39:24 +0200 Subject: parser: remove re-exports `parser::{node,expr}::*` --- askama_parser/src/tests.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'askama_parser/src/tests.rs') diff --git a/askama_parser/src/tests.rs b/askama_parser/src/tests.rs index 4717652..9f0fbd1 100644 --- a/askama_parser/src/tests.rs +++ b/askama_parser/src/tests.rs @@ -1,4 +1,6 @@ -use super::{Ast, Expr, Lit, Node, Syntax, Whitespace, Ws}; +use super::expr::Expr; +use super::node::{Lit, Node, Whitespace, Ws}; +use super::{Ast, Syntax}; fn check_ws_split(s: &str, res: &(&str, &str, &str)) { let Lit { lws, val, rws } = Lit::split_ws_parts(s); @@ -629,7 +631,7 @@ fn test_parse_comments() { #[test] fn test_parse_tuple() { - use super::Expr::*; + use super::expr::Expr::*; let syntax = Syntax::default(); assert_eq!( Ast::from_str("{{ () }}", &syntax).unwrap().nodes, -- cgit