-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std: Fix the return value of Duration::span
The subtraction was erroneously backwards, returning negative durations! Closes #18925
- Loading branch information
1 parent
37ea270
commit 8771394
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8771394
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at alexcrichton@8771394
8771394
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/issue-18925 = 8771394 into auto
8771394
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/issue-18925 = 8771394 merged ok, testing candidate = b1c84d6
8771394
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/2248
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/2246
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/2239
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/2246
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/2240
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/2239
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/2239
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/2243
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/2236
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/2235
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2239
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1899
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1895
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1902
success: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/739
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/733
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/727
8771394
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = b1c84d6