Skip to content

Conversation

@tomaka
Copy link
Member

@tomaka tomaka commented Dec 4, 2017

Necessary step for #23

Copy link
Contributor

@eira-fransham eira-fransham left a comment

Choose a reason for hiding this comment

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

Minor comment


macro_rules! peerstore_tests {
({$create_peerstore:expr} $({$stmt:stmt})*) => {
extern crate multihash;
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably you want to put the mod whatever in this macro too (instead of requiring the user to write it) so you don't get obnoxious and difficult-to-handle errors if you call this twice in the same module

Copy link
Member Author

Choose a reason for hiding this comment

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

Discussed IRL and agreed that we wouldn't do that because it adds an indentation level and because the JSON backend requires an additional crate.

@tomaka tomaka merged commit cd40755 into libp2p:master Dec 7, 2017
@tomaka tomaka deleted the tokio-core-dep branch December 7, 2017 10:54
mxinden pushed a commit to mxinden/rust-libp2p that referenced this pull request Nov 20, 2020
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.

2 participants