We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8b438 commit 7109eb9Copy full SHA for 7109eb9
CHANGELOG.md
@@ -13,6 +13,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).
13
14
### Fixed
15
16
+- Fix microsecond calculation for `TimeSpec`.
17
+ ([#1801](https://github.com/nix-rust/nix/pull/1801))
18
+
19
### Removed
20
21
## [0.25.0] - 2022-08-13
src/sys/time.rs
@@ -319,7 +319,7 @@ impl TimeValLike for TimeSpec {
319
}
320
321
fn num_microseconds(&self) -> i64 {
322
- self.num_nanoseconds() / 1_000_000_000
+ self.num_nanoseconds() / 1_000
323
324
325
fn num_nanoseconds(&self) -> i64 {
0 commit comments