utkarshkukreti / markup.rs

A blazing fast, type-safe template engine for Rust.
Apache License 2.0
350 stars 14 forks source link

Procedural Macro - Add placeholder lifetime for `std::fmt::Formatter` #37

Closed friedemannsommer closed 9 months ago

friedemannsommer commented 9 months ago

To resolve #36 the placeholder lifetime for std::fmt::Formatter has been added in markup-proc-macro/src/generate.rs.

This PR also removes a unnecessary path prefix (syn) in the attr function, which is also located in markup-proc-macro/src/generate.rs.

utkarshkukreti commented 9 months ago

Thanks!