We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d184b1a commit b30d80eCopy full SHA for b30d80e
src/sys/time.rs
@@ -630,10 +630,6 @@ impl TimeVal {
630
)] // https://github.com/rust-lang/libc/issues/1848
631
fn micros_mod_sec(&self) -> suseconds_t {
632
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
637
self.tv_usec()
638
- MICROS_PER_SEC as suseconds_t
639
} else {
0 commit comments