diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-12-07 15:41:35 +0100 |
---|---|---|
committer | Juan Aguilar <mhpoin@gmail.com> | 2018-12-08 21:43:20 +0100 |
commit | d042c5d758a0b99288b99959d5d98462f18cde65 (patch) | |
tree | 76a3bc0744927ea976e94888e989dd96a417647f /askama_derive/src/generator.rs | |
parent | cf8dc532f04440d5968265ee26852966c4a6c7b3 (diff) | |
download | askama-d042c5d758a0b99288b99959d5d98462f18cde65.tar.gz askama-d042c5d758a0b99288b99959d5d98462f18cde65.tar.bz2 askama-d042c5d758a0b99288b99959d5d98462f18cde65.zip |
Upgrade to 2018 edition
Diffstat (limited to 'askama_derive/src/generator.rs')
-rw-r--r-- | askama_derive/src/generator.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index 128811a..dc1c551 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -1,7 +1,7 @@ use super::{get_template_source, Context, Heritage}; -use input::TemplateInput; -use parser::{Cond, Expr, MatchParameter, MatchVariant, Node, Target, When, WS}; -use shared::filters; +use crate::input::TemplateInput; +use crate::parser::{Cond, Expr, MatchParameter, MatchVariant, Node, Target, When, WS}; +use crate::shared::filters; use proc_macro2::Span; @@ -13,7 +13,7 @@ use std::{cmp, hash, mem, str}; use syn; -use parser::parse; +use crate::parser::parse; pub(crate) fn generate( input: &TemplateInput, |