Uh oh!
There was an error while loading. Please reload this page.
style nitpicks in rustc and libcollections - #22539
Conversation
rust-highfive
commented
Feb 19, 2015
(rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
I think that this may wish to retain the outer block because it can be confusing if you expect the indented code below to be the body of the arm but it's in fact a closure.
alexcrichton
commented
Feb 20, 2015
A few small nits here and there, but overall looks great, thanks! (also needs a rebase) |
3f66b8c to
5590326CompareThere was a problem hiding this comment.
this could allow for future code to be missed, should i create a manual fallback with all possible cases instead?
There was a problem hiding this comment.
Yes keeping an explicit exhaustive match should be done wherever possible .
alexcrichton
commented
Feb 23, 2015
Sorry for being a little slow, but needs a rebase now. |
e4c269c to
a343202Compareoli-obk
commented
Feb 23, 2015
nits addressed and rebased |
alexcrichton
commented
Feb 24, 2015
@bors: r+ 1ae4bbffc668ba25d9e482d7b17a8378c4d71708 rollup |
Manishearth
commented
Feb 24, 2015
(Needs rebase; removed from rollup) |
oli-obk
commented
Feb 24, 2015
rebased, compilation ok, checks running |
oli-obk
commented
Feb 24, 2015
checks are also ok |
Manishearth
commented
Feb 24, 2015
Broke again, rollup just landed. So sorry! Ping me when you get it rebased again. |
oli-obk
commented
Feb 24, 2015
np, trivial rebase, checks running |
oli-obk
commented
Feb 24, 2015
building found two warnings |
Manishearth
commented
Feb 24, 2015
Okay, you can fix them and just quickly test if they don't fail. Or I can r+ this now, either works. |
oli-obk
commented
Feb 24, 2015
they are fixed |
oli-obk
commented
Feb 24, 2015
and make check ran through |
Manishearth
commented
Feb 24, 2015
I tried to follow [the style guide][1] as much as possible. This is just from some random readings of the code, so no guarantees on completeness, even in the edited files. [1]: http://aturon.github.io/style/README.html
I tried to follow the style guide as much as possible. This is just from some random readings of the code, so no guarantees on completeness, even in the edited files.