Skip to content

Commit

Permalink
fixup! refactor: enable lints, cleanups for Rust 2024 hydro-project#1732
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Feb 22, 2025
1 parent 6cc3022 commit 0eeff75
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions hydro_deploy/hydroflow_deploy_integration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ impl ConnectedSource for ConnectedDirect {
type Stream = DynStream;

fn into_source(mut self) -> DynStream {
#[allow(if_let_rescope)]
if let Some(s) = self.stream_sink.take() {
Box::pin(s)
} else {
Expand All @@ -467,7 +466,6 @@ impl ConnectedSink for ConnectedDirect {
type Sink = DynSink<Bytes>;

fn into_sink(mut self) -> DynSink<Self::Input> {
#[allow(if_let_rescope)]
if let Some(s) = self.stream_sink.take() {
Box::pin(s)
} else {
Expand Down Expand Up @@ -702,7 +700,6 @@ where
Connection::AsClient(ClientConnection::Merge(m)) => {
let mut sources = Vec::new();
for port in m {
#[allow(if_let_rescope)]
if let ClientConnection::Tagged(pipe, id) = port {
sources.push((
Box::pin(
Expand Down Expand Up @@ -734,7 +731,6 @@ where
Connection::AsServer(BoundServer::Merge(m)) => {
let mut sources = Vec::new();
for port in m {
#[allow(if_let_rescope)]
if let BoundServer::Tagged(pipe, id) = port {
sources.push((
Box::pin(
Expand Down

0 comments on commit 0eeff75

Please sign in to comment.