We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tokio-socks/src/tcp.rs
Line 425 in 9fdcccc
Panicking is not a great option here -- we should probably return an error instead.
The text was updated successfully, but these errors were encountered:
The branch is unreachable. All unknown authentication method code will be matched by the m if m != self.auth.id() branch.
m if m != self.auth.id()
We can add a comment here and use unreachable! macro instead.
unreachable!
Sorry, something went wrong.
I see!
why not remove the if m != self.auth.id()?
if m != self.auth.id()
No branches or pull requests
tokio-socks/src/tcp.rs
Line 425 in 9fdcccc
Panicking is not a great option here -- we should probably return an error instead.
The text was updated successfully, but these errors were encountered: