Remove unnecessary pub(self)

This commit is contained in:
Chinsyo authored and eycorsican committed 2024-10-08 20:16:12 +08:00
1 parent 443828f48e
commit e37097b36c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ impl FakeDns {
}
}
pub(self) struct FakeDnsImpl {
struct FakeDnsImpl {
ip_to_domain: HashMap<u32, String>,
domain_to_ip: HashMap<String, u32>,
cursor: u32,
+1 -1
View File
@@ -241,7 +241,7 @@ async fn health_check(
Measure::new(idx, mean_rtt, tag)
}
pub(self) async fn health_check_task(
async fn health_check_task(
network: Network,
schedule: Arc<Mutex<Vec<usize>>>,
actors: Vec<AnyOutboundHandler>,
+1 -1
View File
@@ -4,7 +4,7 @@ pub mod datagram;
pub use stream::Handler as StreamHandler;
pub use datagram::Handler as DatagramHandler;
pub(self) enum Method {
enum Method {
Random,
RandomOnce,
RoundRobin,