Conversation
|
Thanks for contributing! Unfortunately, I'm here to tell you there were the following style issues with your Pull Request:
Guidelines are available at https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md This message was auto-generated by https://gitcop.com |
|
Amended commit message to make gitcop happy. |
|
Thanks! I wonder, if slice_patterns aren't going to be stable for beta/1.0, On Sun, Mar 29, 2015, 9:18 AM Florian Hartwig notifications@github.com
|
|
rust-lang/rust#23121 says that they hope to have it ready for the beta release, but I'm not sure if that still applies. I can re-write the function to avoid slice patterns if you like. |
|
With beta this week, those comments don't assure me. If you could remove On Sun, Mar 29, 2015, 9:57 AM Florian Hartwig notifications@github.com
|
* remove slice pattern * add `Reflect` trait bounds where necessary
|
Ok, slice patterns are gone. Tests pass for me, travis seems to have trouble with github today. |
There was a problem hiding this comment.
Reflect shouldn't be needed in this file as far as I can tell. What error comes up if you remove these bounds?
There was a problem hiding this comment.
I see, since our Header traits should require Reflect.
There was a problem hiding this comment.
error: the trait `core::marker::Reflect` is not implemented for the type `S` [E0277]
(in lines 26 and 47)
|
The Header downcasting stuff all needs |
|
According to this the bound should be |
|
@Ryman you're right. The existing |
Reflecttrait bounds where necessary