Skip to content

Conversation

@Centril
Copy link
Contributor

@Centril Centril commented Feb 24, 2020

Because the Self type is Onion3Addr<'a> and the return type uses 'b, the usage of Self as a constructor is illegal as per https://crater-reports.s3.amazonaws.com/pr-69340/try%239ff4d07208097950831ed4ea9d76feb1eafc8baa/reg/libp2p-plaintext-0.15.0/log.txt and the bug fix in rust-lang/rust#69340. This PR fixes that problem for you.

Copy link
Contributor

@twittner twittner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Centril
Copy link
Contributor Author

Centril commented Feb 24, 2020

CI seems happy :)

@tomaka tomaka merged commit 4496337 into libp2p:master Feb 24, 2020
@Centril Centril deleted the patch-1 branch February 24, 2020 18:57
Sign up for free to 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.

3 participants