Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dizda committed May 7, 2022
1 parent f711ae0 commit c4fb9c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub enum SocksError {

#[cfg(feature = "socks4")]
#[error("Error with reply: {0}.")]
ReplySocks4Error(#[from] socks3::ReplyError),
ReplySocks4Error(#[from] socks4::ReplyError),

#[error("Argument input error: `{0}`.")]
ArgumentInputError(&'static str),
Expand Down
2 changes: 1 addition & 1 deletion src/socks4/client.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#[forbid(unsafe_code)]
use crate::read_exact;
use crate::socks3::{consts, ReplyError, Socks4Command};
use crate::socks4::{consts, ReplyError, Socks4Command};
use crate::util::target_addr::{TargetAddr, ToTargetAddr};
use crate::{Result, SocksError, SocksError::ReplySocks4Error};
use anyhow::Context;
Expand Down

0 comments on commit c4fb9c4

Please sign in to comment.