diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-12-07 15:52:26 +0100 |
---|---|---|
committer | Juan Aguilar <mhpoin@gmail.com> | 2018-12-08 21:43:20 +0100 |
commit | 5549f9a3cd94e3cd6700067b1c74194dadb58a0f (patch) | |
tree | fa7037a3d4884a8c76ab7b4bea6d42b0bde0ff91 /askama_derive/src/parser.rs | |
parent | d042c5d758a0b99288b99959d5d98462f18cde65 (diff) | |
download | askama-5549f9a3cd94e3cd6700067b1c74194dadb58a0f.tar.gz askama-5549f9a3cd94e3cd6700067b1c74194dadb58a0f.tar.bz2 askama-5549f9a3cd94e3cd6700067b1c74194dadb58a0f.zip |
Use 2018 edition idioms
Diffstat (limited to '')
-rw-r--r-- | askama_derive/src/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_derive/src/parser.rs b/askama_derive/src/parser.rs index 08013e9..e1a7fc0 100644 --- a/askama_derive/src/parser.rs +++ b/askama_derive/src/parser.rs @@ -4,7 +4,7 @@ use nom; use std::str; -use crate::shared::Syntax; +use askama_shared::Syntax; #[derive(Debug)] pub enum Expr<'a> { @@ -771,7 +771,7 @@ pub fn parse<'a>(src: &'a str, syntax: &'a Syntax<'a>) -> Vec<Node<'a>> { #[cfg(test)] mod tests { - use crate::shared::Syntax; + use askama_shared::Syntax; fn check_ws_split(s: &str, res: &(&str, &str, &str)) { let node = super::split_ws_parts(s.as_bytes()); |