We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ef1150 commit 92a7859Copy full SHA for 92a7859
src/epoll.rs
@@ -52,7 +52,7 @@ impl EpollWrapper {
52
let fds = self
53
.subscriber_watch_list
54
.remove(&subscriber_id)
55
- .unwrap_or_else(Vec::new);
+ .unwrap_or_default();
56
for fd in fds {
57
// We ignore the result of the operation since there's nothing we can't do, and its
58
// not a significant error condition at this point.
0 commit comments