summaryrefslogtreecommitdiffhomepage
path: root/talpid-core/src
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2018-05-04 17:15:35 +0100
committerEmīls Piņķis <emils@mullvad.net>2018-05-07 16:16:40 +0100
commit01709a4abcda5a1eccfcc9cf135ff26401d406a6 (patch)
tree47ca5f99bf8854410c0ab46c59c70291c48f20f6 /talpid-core/src
parent7a40617ca838cb3258ffcf49c4823d668aaa3c12 (diff)
downloadmullvadvpn-01709a4abcda5a1eccfcc9cf135ff26401d406a6.tar.xz
mullvadvpn-01709a4abcda5a1eccfcc9cf135ff26401d406a6.zip
Updating formatting to be up to date with the newest rustfmt
Diffstat (limited to 'talpid-core/src')
-rw-r--r--talpid-core/src/firewall/macos/dns.rs5
-rw-r--r--talpid-core/src/tunnel/mod.rs5
2 files changed, 6 insertions, 4 deletions
diff --git a/talpid-core/src/firewall/macos/dns.rs b/talpid-core/src/firewall/macos/dns.rs
index 4ff86dd948..2cde3cf8ff 100644
--- a/talpid-core/src/firewall/macos/dns.rs
+++ b/talpid-core/src/firewall/macos/dns.rs
@@ -8,8 +8,9 @@ use self::core_foundation::propertylist::CFPropertyList;
use self::core_foundation::runloop::{kCFRunLoopCommonModes, CFRunLoop};
use self::core_foundation::string::CFString;
-use self::system_configuration::dynamic_store::{SCDynamicStore, SCDynamicStoreBuilder,
- SCDynamicStoreCallBackContext};
+use self::system_configuration::dynamic_store::{
+ SCDynamicStore, SCDynamicStoreBuilder, SCDynamicStoreCallBackContext,
+};
use error_chain::ChainedError;
diff --git a/talpid-core/src/tunnel/mod.rs b/talpid-core/src/tunnel/mod.rs
index ef24aac193..640f020fbd 100644
--- a/talpid-core/src/tunnel/mod.rs
+++ b/talpid-core/src/tunnel/mod.rs
@@ -12,8 +12,9 @@ use std::io::{self, Write};
use std::net::Ipv4Addr;
use std::path::{Path, PathBuf};
-use talpid_types::net::{Endpoint, OpenVpnTunnelOptions, TunnelEndpoint, TunnelEndpointData,
- TunnelOptions};
+use talpid_types::net::{
+ Endpoint, OpenVpnTunnelOptions, TunnelEndpoint, TunnelEndpointData, TunnelOptions,
+};
/// A module for all OpenVPN related tunnel management.
pub mod openvpn;