From 4de28e4584727d4df1cef1c8844db864df128995 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 6 Oct 2023 11:50:56 +0200 Subject: Cleanup imports a bit --- askama_derive/src/generator.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'askama_derive/src/generator.rs') diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index 8d120be..929e18c 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -1,3 +1,7 @@ +use std::collections::hash_map::{Entry, HashMap}; +use std::path::{Path, PathBuf}; +use std::{cmp, hash, mem, str}; + use crate::config::{get_template_source, WhitespaceHandling}; use crate::heritage::{Context, Heritage}; use crate::input::{Source, TemplateInput}; @@ -9,10 +13,6 @@ use parser::node::{ use parser::{Expr, Node, Parsed}; use quote::quote; -use std::collections::hash_map::{Entry, HashMap}; -use std::path::{Path, PathBuf}; -use std::{cmp, hash, mem, str}; - pub(crate) struct Generator<'a> { // The template input state: original struct AST and attributes input: &'a TemplateInput<'a>, -- cgit