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/lib.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/lib.rs')
-rw-r--r-- | askama_derive/src/lib.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/askama_derive/src/lib.rs b/askama_derive/src/lib.rs index 5c84004..d6900d7 100644 --- a/askama_derive/src/lib.rs +++ b/askama_derive/src/lib.rs @@ -11,12 +11,12 @@ mod generator; mod input; mod parser; -use input::{Print, Source, TemplateInput}; -use parser::{Expr, Macro, Node}; +use crate::input::{Print, Source, TemplateInput}; +use crate::parser::{Expr, Macro, Node}; +use crate::shared::{read_config_file, Config}; use proc_macro::TokenStream; -use shared::{read_config_file, Config}; -use parser::parse; +use crate::parser::parse; use std::collections::HashMap; use std::fs; use std::path::{Path, PathBuf}; @@ -220,7 +220,7 @@ fn get_template_source(tpl_path: &Path) -> String { #[cfg(test)] mod tests { use super::get_template_source; - use Config; + use crate::Config; #[test] fn get_source() { |