Skip to content

Conversation

@tomusdrw
Copy link
Contributor

@tomusdrw tomusdrw commented Oct 9, 2019

No description provided.

mod tests {
use super::*;

fn send_and_sync<T: Send + Sync>(_: T) {}
Copy link
Contributor

Choose a reason for hiding this comment

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

I would have actually write this without args, and also I would have put it in the test itself as it is not useful to reuse

Suggested change
fn send_and_sync<T: Send + Sync>(_: T) {}
fn send_and_sync<T: Send + Sync>() {}

lazy_static = "1.1.0"
log = "0.4"
tokio = { version = "0.1" }
tokio = { version = "0.1.15" }
Copy link
Contributor

Choose a reason for hiding this comment

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

tokio = "0.1.22" is the latest BTW

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but we don't really require the latest. I just tested that 0.1.15 is enough to fix the Send + Sync issue, so that's the minimal version we support.

Copy link
Contributor

Choose a reason for hiding this comment

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

All right, cool I was confused by the commit message then

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, yeah. Good point :) I wasn't paying that much attention when writing it.

@tomusdrw tomusdrw merged commit 4418476 into master Oct 10, 2019
@tomusdrw tomusdrw deleted the td-rpceventloop-sync branch October 10, 2019 11:33
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.

5 participants