Skip to content

Commit eceb71f

Browse files
committed
Fix rustfmt
1 parent 6d95d36 commit eceb71f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

talpid-core/src/dns/windows/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ ffi_error!(SettingResult, Error::Setting);
251251

252252
#[allow(non_snake_case)]
253253
extern "stdcall" {
254-
255254
#[link_name = "WinDns_Initialize"]
256255
pub fn WinDns_Initialize(
257256
sink: Option<LogSink>,

talpid-core/src/tunnel/wireguard/wireguard_go.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,11 @@ pub type LoggingCallback = unsafe extern "system" fn(
330330
);
331331

332332
extern "C" {
333-
// Creates a new wireguard tunnel, uses the specific interface name, MTU and file descriptors
334-
// for the tunnel device and logging.
335-
//
336-
// Positive return values are tunnel handles for this specific wireguard tunnel instance.
337-
// Negative return values signify errors. All error codes are opaque.
333+
/// Creates a new wireguard tunnel, uses the specific interface name, MTU and file descriptors
334+
/// for the tunnel device and logging.
335+
///
336+
/// Positive return values are tunnel handles for this specific wireguard tunnel instance.
337+
/// Negative return values signify errors. All error codes are opaque.
338338
#[cfg(not(any(target_os = "android", target_os = "windows")))]
339339
fn wgTurnOn(
340340
mtu: isize,

0 commit comments

Comments
 (0)