Skip to content

Commit

Permalink
Add a test for iter::empty::<*mut i32> being Sync and Send
Browse files Browse the repository at this point in the history
  • Loading branch information
KamilaBorowska committed Jan 18, 2020
1 parent a70b240 commit d7a18f8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ fn main() {
is_sync_send!((1..));
is_sync_send!(repeat(1));
is_sync_send!(empty::<usize>());
is_sync_send!(empty::<*mut i32>());
is_sync_send!(once(1));

// for option.rs
Expand Down

0 comments on commit d7a18f8

Please sign in to comment.