Skip to content

Commit

Permalink
2024 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Jul 20, 2024
1 parent bbc8da7 commit bf75584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/eventloop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ impl EventLoop {

#[cfg(unix)]
unsafe fn borrow_socket(socket: c_ares::Socket) -> impl polling::AsSource {
BorrowedFd::borrow_raw(socket)
unsafe { BorrowedFd::borrow_raw(socket) }
}

#[cfg(windows)]
unsafe fn borrow_socket(socket: c_ares::Socket) -> impl polling::AsSource {
BorrowedSocket::borrow_raw(socket)
unsafe { BorrowedSocket::borrow_raw(socket) }
}

0 comments on commit bf75584

Please sign in to comment.