Skip to content

Commit abc53cc

Browse files
committed
from_micros: Fix missing {
1 parent 2e6aed8 commit abc53cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/time/duration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ impl Duration {
116116
let secs = millis / MILLIS_PER_SEC;
117117
let nanos = ((millis % MILLIS_PER_SEC) as u32) * NANOS_PER_MILLI;
118118
Duration { secs: secs, nanos: nanos }
119+
}
119120

120121
/// Creates a new `Duration` from the specified number of microseconds.
121122
///

0 commit comments

Comments
 (0)