Skip to content

Commit

Permalink
refactor(app/test): remove duplicate io reëxport
Browse files Browse the repository at this point in the history
the same `pub use` bundle is found in the parent `lib.rs`.

this removes it, and refers to the same `mod io {}` defined above.
  • Loading branch information
cratelyn committed Dec 5, 2024
1 parent 62f1d99 commit c28c7ef
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions linkerd/app/test/src/connect.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use crate::io;
use linkerd_app_core::{
svc::{Param, Service},
transport::{ClientAddr, Local, Remote, ServerAddr},
Expand All @@ -14,11 +15,6 @@ use std::{
};
use tracing::instrument::{Instrument, Instrumented};

mod io {
pub use linkerd_app_core::io::*;
pub use tokio_test::io::*;
}

type ConnectFn<T> = Box<dyn FnMut(T) -> ConnectFuture + Send>;

pub type ConnectFuture =
Expand Down

0 comments on commit c28c7ef

Please sign in to comment.