Skip to content

Commit bf2f844

Browse files
committed
Fix linting
1 parent e9f7c1b commit bf2f844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sys/test_select.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ fn test_fdset_from_iterable() {
300300
.into_iter()
301301
.map(|fd| (fd.as_raw_fd(), fd))
302302
.collect::<std::collections::HashMap<_, _>>();
303-
let writes = vec![w1, w2];
303+
let writes = [w1, w2];
304304
let reads_fdset: FdSet = reads.values().into();
305305
let writes_fdset: FdSet = writes.iter().into();
306306
assert_eq!(

0 commit comments

Comments
 (0)