aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar René Kijewski <rene.kijewski@fu-berlin.de>2023-08-01 04:04:27 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-08-01 13:04:41 +0200
commitc5c46ada406aea830293a22bcef64a0d6205b3f4 (patch)
treebb17d5a179c330e433ef20f1919c285ff9a4c723 /askama_parser/src/lib.rs
parentfa3a3271ee8d2514cf96e6a7733312a958a78962 (diff)
downloadaskama-c5c46ada406aea830293a22bcef64a0d6205b3f4.tar.gz
askama-c5c46ada406aea830293a22bcef64a0d6205b3f4.tar.bz2
askama-c5c46ada406aea830293a22bcef64a0d6205b3f4.zip
parser: rename `Node::Cond` into `If` and add type
Diffstat (limited to 'askama_parser/src/lib.rs')
-rw-r--r--askama_parser/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_parser/src/lib.rs b/askama_parser/src/lib.rs
index 560507a..8e90802 100644
--- a/askama_parser/src/lib.rs
+++ b/askama_parser/src/lib.rs
@@ -16,8 +16,8 @@ use nom::{error_position, AsChar, IResult, InputTakeAtPosition};
pub use self::expr::Expr;
pub use self::node::{
- BlockDef, Call, Cond, CondTest, Import, Let, Lit, Loop, Macro, Match, Node, Raw, Target, When,
- Whitespace, Ws,
+ BlockDef, Call, Cond, CondTest, If, Import, Let, Lit, Loop, Macro, Match, Node, Raw, Target,
+ When, Whitespace, Ws,
};
mod expr;