Skip to content

Commit 28e6ae2

Browse files
committed
Run cargo fmt from the workspace root
(backport <#4454>) (cherry picked from commit adcb2b8)
1 parent 40c1f31 commit 28e6ae2

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const ALLOWED_CFGS: &[&str] = &[
2222
"libc_ctest",
2323
// Corresponds to `__USE_TIME_BITS64` in UAPI
2424
"linux_time_bits64",
25-
"musl_v1_2_3"
25+
"musl_v1_2_3",
2626
];
2727

2828
// Extra values to allow for check-cfg.

src/windows/mod.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,12 @@ extern "C" {
394394
#[link_name = "_get_timezone"]
395395
pub fn get_timezone(seconds: *mut c_long) -> errno_t;
396396
#[link_name = "_get_tzname"]
397-
pub fn get_tzname(p_return_value: *mut size_t, time_zone_name: *mut c_char, size_in_bytes: size_t, index: c_int) -> errno_t;
397+
pub fn get_tzname(
398+
p_return_value: *mut size_t,
399+
time_zone_name: *mut c_char,
400+
size_in_bytes: size_t,
401+
index: c_int,
402+
) -> errno_t;
398403
#[link_name = "_localtime64_s"]
399404
pub fn localtime_s(tmDest: *mut tm, sourceTime: *const time_t) -> crate::errno_t;
400405
#[link_name = "_time64"]

0 commit comments

Comments
 (0)