udoprog / genco

A whitespace-aware quasiquoter for beautiful code generation.
Apache License 2.0
181 stars 11 forks source link

Rust example emits 2 long lines. #29

Closed rrichardson closed 1 year ago

rrichardson commented 1 year ago

I am investigating genco for a large code-generation project, I'm just trying to understand how to work the formatting, and I haven't been able to fix the Rust example to be formatted more like the quoting. Any tips?

rrichardson commented 1 year ago

Ah. I see that nightly is required. When I use that, it emits the correct output.