Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
durch committed Jan 9, 2025
1 parent 397832d commit c1b6634
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions nym-vpn-core/crates/nym-gateway-probe/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ pub struct NetstackArgs {
netstack_ping_ips_v6: Vec<String>,
}


#[derive(Default, Debug)]
pub enum TestedNode {
#[default]
Expand Down Expand Up @@ -159,7 +158,11 @@ pub struct Probe {
}

impl Probe {
pub fn new(entrypoint: EntryPoint, tested_node: TestedNode, netstack_args: NetstackArgs) -> Self {
pub fn new(
entrypoint: EntryPoint,
tested_node: TestedNode,
netstack_args: NetstackArgs,
) -> Self {
Self {
entrypoint,
tested_node,
Expand Down
2 changes: 1 addition & 1 deletion nym-vpn-core/crates/nym-gateway-probe/src/netstack/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ impl NetstackRequest {
pub fn set_v6_config(&mut self, config: PingConfig) {
self.v6_ping_config = config;
}
}
}

0 comments on commit c1b6634

Please sign in to comment.