From bf2f844b6702ca89641e99445ae405f060b390bf Mon Sep 17 00:00:00 2001 From: Audrey Dutcher Date: Mon, 22 Apr 2024 11:27:59 -0700 Subject: [PATCH] Fix linting --- test/sys/test_select.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sys/test_select.rs b/test/sys/test_select.rs index c8c493cc4b..43e8fb9811 100644 --- a/test/sys/test_select.rs +++ b/test/sys/test_select.rs @@ -300,7 +300,7 @@ fn test_fdset_from_iterable() { .into_iter() .map(|fd| (fd.as_raw_fd(), fd)) .collect::>(); - 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!(