Skip to content

Commit

Permalink
Clippy Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Kulkarni committed Oct 6, 2024
1 parent 92d7ff4 commit 97dbf3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tcp/socks5.rs
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ where
let snego_token_len = u16::to_be_bytes(snego_token.len() as u16);
gssapi_buf.extend_from_slice(&snego_token_len); // len
gssapi_buf.extend(snego_token); // token
return Ok(gssapi_buf);
Ok(gssapi_buf)
} else {
unreachable!()
}
Expand Down Expand Up @@ -471,7 +471,7 @@ where
let context_token_len = u16::to_be_bytes(context_token.len() as u16);
gssapi_buf.extend_from_slice(&context_token_len); // len
gssapi_buf.extend(context_token); // token
return Ok(gssapi_buf);
Ok(gssapi_buf)
} else {
unreachable!()
}
Expand Down

0 comments on commit 97dbf3c

Please sign in to comment.