Add a test for iter::empty::<*mut i32> being Sync and Send
This commit is contained in:
parent
a70b240189
commit
d7a18f8986
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue