Skip to content

Commit 92a7859

Browse files
andreeaflorescualxiord
authored andcommitted
fix clippy issues - Rust 1.63
Signed-off-by: Andreea Florescu <[email protected]>
1 parent 1ef1150 commit 92a7859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/epoll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl EpollWrapper {
5252
let fds = self
5353
.subscriber_watch_list
5454
.remove(&subscriber_id)
55-
.unwrap_or_else(Vec::new);
55+
.unwrap_or_default();
5656
for fd in fds {
5757
// We ignore the result of the operation since there's nothing we can't do, and its
5858
// not a significant error condition at this point.

0 commit comments

Comments
 (0)