mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-05 16:02:32 +00:00
Remove unnecessary pub(self)
This commit is contained in:
1 parent
443828f48e
commit
e37097b36c
3 files changed
+3
-3
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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>,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user