Skip to content

Commit b30d80e

Browse files
fix: fix attributes placement
1 parent d184b1a commit b30d80e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/sys/time.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,10 +630,6 @@ impl TimeVal {
630630
)] // https://github.com/rust-lang/libc/issues/1848
631631
fn micros_mod_sec(&self) -> suseconds_t {
632632
if self.tv_sec() < 0 && self.tv_usec() > 0 {
633-
#[cfg_attr(
634-
any(target_env = "musl", target_env = "ohos"),
635-
allow(deprecated)
636-
)] // https://github.com/rust-lang/libc/issues/1848
637633
self.tv_usec()
638634
- MICROS_PER_SEC as suseconds_t
639635
} else {

0 commit comments

Comments
 (0)