Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: askama-rs/askama-old
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ec8b8c5ebf0cc43edeb88bcad86255d5c12a532b
Choose a base ref
..
head repository: askama-rs/askama-old
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2d1d2b37e1eb1a0bb91685dfdb09c89ff328a39e
Choose a head ref
Showing with 6 additions and 6 deletions.
  1. +6 −6 askama_parser/src/expr.rs
12 changes: 6 additions & 6 deletions askama_parser/src/expr.rs
Original file line number Diff line number Diff line change
@@ -52,12 +52,6 @@ macro_rules! expr_prec_layer {
}
}

#[derive(Clone, Debug, PartialEq)]
pub struct Filter<'a> {
pub name: &'a str,
pub arguments: Vec<Expr<'a>>,
}

#[derive(Clone, Debug, PartialEq)]
pub enum Expr<'a> {
BoolLit(&'a str),
@@ -310,6 +304,12 @@ impl<'a> Expr<'a> {
}
}

#[derive(Clone, Debug, PartialEq)]
pub struct Filter<'a> {
pub name: &'a str,
pub arguments: Vec<Expr<'a>>,
}

enum Suffix<'a> {
Attr(&'a str),
Index(Expr<'a>),