Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow omitting "with" keyword in match blocks | René Kijewski | 2021-07-30 | 1 | -0/+17 |
| | | | | | | | | | Askama uses the syntax `{% when Variant with (parameters) %}` in `{% match %}` blocks. This is done because Askama does not implement the whole pattern matching of Rust's `match` statements. This PR wants to bring Askama a step closer Rust's matching, so the "with" keyword should not be needed anymore. | ||||
* | Fixed whitespace issue when generating match (#399) | Christian Vallentin | 2020-12-12 | 1 | -11/+11 |
| | | | | | | | | | | | | | * Fixed #397 * Updated parser to ignore whitespace between match and when * Updated test cases * Updated Python script to generate match ws tests * Added match ws tests * Resolved rustfmt lint | ||||
* | Support char literals | Tuomas Siipola | 2020-01-03 | 1 | -0/+15 |
| | |||||
* | Clean up clippy warnings | Dirkjan Ochtman | 2020-01-02 | 1 | -0/+2 |
| | |||||
* | Allow using brackets for enums in `match` | mcarton | 2018-12-12 | 1 | -2/+6 |
| | |||||
* | Use 2018 edition idioms | Dirkjan Ochtman | 2018-12-08 | 1 | -2/+0 |
| | |||||
* | Remove unused macro_use attributes | Dirkjan Ochtman | 2018-12-08 | 1 | -1/+0 |
| | |||||
* | Fix formatting with cargo fmt | Dirkjan Ochtman | 2018-06-21 | 1 | -2/+3 |
| | |||||
* | Handle a lack of whitespace after match block (fixes #76) | Dirkjan Ochtman | 2018-04-12 | 1 | -0/+12 |
| | |||||
* | Apply suggestions from rustfmt to improve style | Dirkjan Ochtman | 2017-11-21 | 1 | -1/+1 |
| | |||||
* | Support matching custom enums | Anthony Nowell | 2017-11-02 | 1 | -0/+19 |
| | |||||
* | Make match ref/deref as needed | Anthony Nowell | 2017-11-02 | 1 | -0/+27 |
| | | | | | Much of this can be yanked out and made simpler when match-modes lands in stable | ||||
* | support literals in match arms | Anthony Nowell | 2017-11-02 | 1 | -6/+26 |
| | |||||
* | implement basic match functionality | Anthony Nowell | 2017-11-02 | 1 | -0/+18 |