maciejhirsz / ramhorns

Fast Mustache template engine implementation in pure Rust.
https://crates.io/crates/ramhorns
Mozilla Public License 2.0
297 stars 29 forks source link

Don't add types without fields to section from other types #25

Closed grego closed 4 years ago

grego commented 4 years ago

Fixes what was forgotten in #23, namely prevents the types without fields to be added to the content sequence from Option<T>, Result<T>, Vec<T> or [T].