-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Extend and From/IntoIterator for SigSet #1553
Conversation
d46271c
to
1741702
Compare
src/sys/signal.rs
Outdated
@@ -1180,6 +1214,26 @@ mod tests { | |||
}).join().unwrap(); | |||
} | |||
|
|||
#[test] | |||
fn test_extend() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference between this and the original test? I don't see any. Could you please move it back to its original location?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seemed to me that existing tests were arranged in the order of implementation, so I reordered this test as I implemented Extend
. But if you prefer minimizing the diff, I have no problem doing so. 598f6a6
|
||
### Removed | ||
|
||
- Removed `SigSet::extend` in favor of `<SigSet as Extend<Signal>>::extend`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put this in the "Changed" section rather than "Removed"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. d1dcaee
This looks good to me, but you'll have to rebase on master to fix CI, and squash your commits before merging. |
d1dcaee
to
97efade
Compare
Rebased & squashed. Thank you! @asomers |
97efade
to
a24f390
Compare
Rebased again to resolve the conflict in CHANGELOG.md. |
@magicant can you rebase? |
a24f390
to
2196824
Compare
Sure. @rtzoeller |
bors r+ |
No description provided.