diff options
author | 2022-04-07 16:51:09 +0200 | |
---|---|---|
committer | 2022-04-21 10:08:42 +0200 | |
commit | f447a2a8d20b5cd6995b5c33260db23d04716f17 (patch) | |
tree | 12a7db258519f97a0561450c0cfabc3d4ff7738a /askama_shared/src/parser.rs | |
parent | fc779e22c3bfa0e94df208a88a361b99e28a9129 (diff) | |
download | askama-f447a2a8d20b5cd6995b5c33260db23d04716f17.tar.gz askama-f447a2a8d20b5cd6995b5c33260db23d04716f17.tar.bz2 askama-f447a2a8d20b5cd6995b5c33260db23d04716f17.zip |
Add suppress_whitespace config option
Diffstat (limited to '')
-rw-r--r-- | askama_shared/src/parser.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/askama_shared/src/parser.rs b/askama_shared/src/parser.rs index 2a7f49f..eeca326 100644 --- a/askama_shared/src/parser.rs +++ b/askama_shared/src/parser.rs @@ -129,6 +129,9 @@ pub(crate) enum Target<'a> { Path(Vec<&'a str>), } +/// First field is "minus sign was used on the left part of the item". +/// +/// Second field is "minus/plus sign was used on the right part of the item". #[derive(Clone, Copy, Debug, PartialEq)] pub(crate) struct Ws(pub(crate) bool, pub(crate) bool); |