Skip to content

Commit c4fb9c4

Browse files
committed
clippy
1 parent f711ae0 commit c4fb9c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ pub enum SocksError {
152152

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

157157
#[error("Argument input error: `{0}`.")]
158158
ArgumentInputError(&'static str),

Diff for: src/socks4/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#[forbid(unsafe_code)]
22
use crate::read_exact;
3-
use crate::socks3::{consts, ReplyError, Socks4Command};
3+
use crate::socks4::{consts, ReplyError, Socks4Command};
44
use crate::util::target_addr::{TargetAddr, ToTargetAddr};
55
use crate::{Result, SocksError, SocksError::ReplySocks4Error};
66
use anyhow::Context;

0 commit comments

Comments
 (0)