Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rhelmot committed Apr 22, 2024
1 parent e9f7c1b commit bf2f844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sys/test_select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ fn test_fdset_from_iterable() {
.into_iter()
.map(|fd| (fd.as_raw_fd(), fd))
.collect::<std::collections::HashMap<_, _>>();
let writes = vec![w1, w2];
let writes = [w1, w2];
let reads_fdset: FdSet = reads.values().into();
let writes_fdset: FdSet = writes.iter().into();
assert_eq!(
Expand Down

0 comments on commit bf2f844

Please sign in to comment.