summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Michael Eatwell <dimir@fb.com>2022-03-08 12:05:54 +0000
committerVladimir Michael Eatwell <dimir@fb.com>2022-03-08 12:05:54 +0000
commitb5987a236dcc0d5bf75f60b9b00ca4d9f264cd21 (patch)
tree18b06549771038793ec24e72f43e5181b3d16cd5
parent98e59458c3980e8746802294b6306354a6c6a2a4 (diff)
downloadrust-libc-b5987a236dcc0d5bf75f60b9b00ca4d9f264cd21.tar.gz
[watch_os] Fix format
-rw-r--r--src/unix/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/unix/mod.rs b/src/unix/mod.rs
index 2a5834ab5a..adc72f0ff5 100644
--- a/src/unix/mod.rs
+++ b/src/unix/mod.rs
@@ -1184,7 +1184,10 @@ extern "C" {
),
link_name = "__res_init"
)]
- #[cfg_attr(any(target_os = "macos", target_os = "ios", target_os = "watchos"), link_name = "res_9_init")]
+ #[cfg_attr(
+ any(target_os = "macos", target_os = "ios", target_os = "watchos"),
+ link_name = "res_9_init"
+ )]
pub fn res_init() -> ::c_int;
#[cfg_attr(target_os = "netbsd", link_name = "__gmtime_r50")]