Skip to content

Conversation

@JackStouffer
Copy link
Contributor

…TimeException

@JackStouffer JackStouffer added the Review:Trivial typos, formatting, comments label Jan 25, 2018
@JackStouffer JackStouffer requested a review from jmdavis as a code owner January 25, 2018 18:01
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @JackStouffer!

Bugzilla references

Auto-close Bugzilla Description
18299 std.datetime.date.cmpTimeUnits does not throw a DateTimeException

immutable indexOfLHS = countUntil(tstrings, lhs);
immutable indexOfRHS = countUntil(tstrings, rhs);
immutable indexOfLHS = countUntil(timeStrings, lhs);
immutable indexOfRHS = countUntil(timeStrings, rhs);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, what was the reason for this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason to make a second copy of the reference when countUntil takes it by value

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough.

@wilzbach
Copy link
Contributor

Once #6070 is merged, CircleCi can be restarted here.

@dlang-bot dlang-bot merged commit af21a26 into dlang:master Jan 26, 2018
@JackStouffer JackStouffer deleted the issue18299 branch January 26, 2018 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants