maud/maud_macros
Alexandre Macabies 2909e5129c
Add support for Option<T> attributes ()
* Add support for Option<T> attributes

Introduces the `attr=[value]` syntax that assumes `value` is an
`Option<T>`. Renders `attr="value"` for `Some(value)` and entirely
omits the attribute for `None`.

Implements and therefore closes .

* Call `Generator::splice` directly

* Handle struct literals (edge case)

Co-authored-by: Chris Wong <xbuns@google.com>
2021-10-29 16:24:34 +11:00
..
src Add support for Option<T> attributes () 2021-10-29 16:24:34 +11:00
Cargo.toml Bump dependency proc-macro2 to 1.0.23 () 2021-09-28 22:41:20 +10:00