Uh oh!
There was an error while loading. Please reload this page.
Remove integer suffixes from Show implementation - #20792
Conversation
They just clutter the output, reading ``` [0i32, 1i32, 2i32, 3i32] ``` is really hard.
rust-highfive
commented
Jan 9, 2015
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
huonw
commented
Jan 9, 2015
These suffixes were part of the design fwiw. (I'm not expressing an opinion on whether they should be removed.) |
tbu-
commented
Jan 9, 2015
It's what's written in the design, but it didn't have much discussion. We also don't distinguish between printing This also negatively affects tests: tbu-/collect-rs@18069a4#diff-8a5ac7b178f2c29d23992135dce5db83R969 |
aturon
commented
Jan 9, 2015
FWIW, I'm hoping to post an RFC shortly establishing clearer conventions for |
tbu-
commented
Jan 9, 2015
It's a pretty clear win in readability, so this could be merged without an RFC (?). Still need to fix |
alexcrichton
commented
Jan 9, 2015
cc rust-lang/rfcs#565, we may wish to hold off on a decision here until a decision is reached on that RFC |
aturon
commented
Jan 9, 2015
FWIW, the RFC suggests making the change here. I do agree we should wait until that discussion is finished, though, to avoid unnecessary churn. |
alexcrichton
commented
Jan 21, 2015
r? @alexcrichton Part of #20792 that wasn't done in your commit.
…ct-ty-alias minor: Fix using `make::ty` for extract_type_alias
They just clutter the output, reading
is really hard.