Skip to content

Rust update: Remove proc and implementation of AnyRefExt for static NetworkStream - #198

Merged
seanmonstar merged 2 commits into
hyperium:masterfrom
Ogeon:master
Dec 16, 2014
Merged

Rust update: Remove proc and implementation of AnyRefExt for static NetworkStream#198
seanmonstar merged 2 commits into
hyperium:masterfrom
Ogeon:master

Conversation

@Ogeon

Copy link
Copy Markdown
Contributor
  • proc() has been replaced with move ||, or sometimes move|:| (#19338)
  • It looks like self.get_type_id() == TypeId::of::<T>() requires a static NetworkStream. I'm not sure about the source of this or if it's a good solution... What do you think?

I'm submitting this in advance, even if the tests will fail to compile due to the curl dependency. I tried to fix that one too, but it would just give me poetry and I ran out of time for today.

@seanmonstar

Copy link
Copy Markdown
Member

sweet thanks!

seanmonstar added a commit that referenced this pull request Dec 16, 2014
Rust update: Remove proc and implementation of AnyRefExt for static NetworkStream
@seanmonstar
seanmonstar merged commit 00c6808 into hyperium:masterDec 16, 2014
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Ogeon@seanmonstar