Uh oh!
There was an error while loading. Please reload this page.
Fix clippy warnings - #1890
Conversation
rbtcollins
commented
Jun 5, 2019
I have a large branch that will conflict, I think it will be easier for you to rebase and eject a couple of your clippy fixes than the other way around - please hold off on merging a couple days. |
bors
commented
Jun 15, 2019
☔ The latest upstream changes (presumably #1876) made this pull request unmergeable. Please resolve the merge conflicts. |
kinnison
commented
Jun 19, 2019
@lzutao Could you please rebase, and resubmit? |
tesuji
commented
Jun 20, 2019
Sorry for the delay! I pushed new changes. |
kinnison
left a comment
There was a problem hiding this comment.
Mostly looks sane. I only commented on the first Typename -> Self conversion, but I'd like to know which lint is making that desirable because to me it's less readable in some cases, though better in others.
A suggestion is present for some of your refactoring, otherwise looks good.
| let dist_root = dist_root_server.clone() + "/dist"; | ||
| let cfg = Cfg { | ||
| let cfg = Self { |
There was a problem hiding this comment.
Is this a new lint I was previously unaware of?
There was a problem hiding this comment.
Aah I see. This one is a pedantic lint and I'm not sure I completely care for it. I won't say "no" this time, but it feels a bit overly pedantic for my liking. Can make it harder to tell what something is if it's overused IMO.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
204ebbc to
408f85bComparetesuji
commented
Jun 21, 2019
Honestly, I don't know how |
kinnison
commented
Jun 21, 2019
The changes look good, but the build failed. And differently this time -- the |
tesuji
commented
Jun 22, 2019
The |
tesuji
commented
Jun 24, 2019
Oops! You forgot to squash this PR before merging. |
kinnison
commented
Jun 25, 2019
I didn't really see a need to squash it. Each commit was clear what it was doing. |
Note: Please squash these commits before merge.