Skip to content

Commit 34b239d

Browse files
committed
chore: update dependencies
1 parent ce9ecaf commit 34b239d

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

Diff for: Cargo.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/session.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,7 @@ where S::Artifact: IntoInit<M::Init>
444444
type Connection = S::Connection;
445445
type Artifact = ProtocolArtifact<M, S>;
446446

447-
fn is_established(&self) -> bool {
448-
self.state.is_complete()
449-
}
447+
fn is_established(&self) -> bool { self.state.is_complete() }
450448

451449
fn run_handshake(&mut self) -> io::Result<()> {
452450
#[cfg(feature = "log")]
@@ -664,8 +662,6 @@ mod impl_socks5 {
664662

665663
fn is_init(&self) -> bool { true }
666664

667-
fn is_complete(&self) -> bool {
668-
matches!(self, Socks5::Active(_))
669-
}
665+
fn is_complete(&self) -> bool { matches!(self, Socks5::Active(_)) }
670666
}
671667
}

0 commit comments

Comments
 (0)