> For "enforcement" I'm still in favour of telling users they can easily > pretty print, but accepting ugly-format stuff during parsing. For the > following reasons:
As a slight expansion of this point: the pp has been left in the position of "printing to stdout". I think a command-line flag that does an in-memory pp, and rewrites the input file in-place if there was any change, will make it that much more likely to come into common use. We currently do this with a makefile rule that's *slightly* unintuitive. Filed this as bug https://github.com/graydon/rust/issues/1282 -Graydon _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
