This looks really great. In general I like the look of the braces. For the
details of the syntax, I think we should borrow as much as possible from
other languages; no need to be very novel in this space. I also don't think
we should worry too much about cases like "{: <+#10.10d}" as long as the
majority of uses are pleasant and readable.

There is one important thing I want to point out. The shortest specifier of
"{}" is likely to get quite a lot of use, and having it use reflection
(analogous to "%?" today) can't be allowed in safe code, as per
https://github.com/mozilla/rust/issues/7606 . I'd prefer it if "{}"
attempted to call .to_str() on its argument.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to