kdl-rs
kdl-rs copied to clipboard
fmt() should add explicit decoration
Closes #53 (built on top of it), closes #54
This PR takes the approach that calling fmt should always fully fill in the leading/trailing fields to be explicit. A separate approach to fix #54 and fix formatting of built nodes is to fix the None formatting... which should still be done, ideally, but this is the approach that came more easily.
cc @cbiffle