Skip to content

Commit fa1896e

Browse files
committed
fix clippy
1 parent c3c7cea commit fa1896e

File tree

1 file changed

+1
-1
lines changed
  • core/src/net/operator/windows

1 file changed

+1
-1
lines changed

core/src/net/operator/windows/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl<'o> Operator<'o> {
8585
unsafe {
8686
let ret = CreateIoCompletionPort(handle, self.iocp, self.cpu, 0);
8787
if ret.is_null()
88-
&& ERROR_INVALID_PARAMETER == WSAGetLastError().try_into().expect("overflow")
88+
&& ERROR_INVALID_PARAMETER == WSAGetLastError().try_into::<u32>().expect("overflow")
8989
{
9090
// duplicate bind
9191
return Ok(());

0 commit comments

Comments
 (0)