Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make util::str::str_join consistent with SliceConcatExt::join #7806

Merged
merged 1 commit into from Oct 1, 2015

Conversation

@frewsxcv
Copy link
Member

frewsxcv commented Sep 30, 2015

Prior to this commit, str_join would skip empty items at the start of
the Iterator until it found a non-empty item. This contradicts
SliceConcatExt::join which doesn't skip anything.

Brought up in:

#7776 (comment)

Review on Reviewable

Prior to this commit, `str_join` would skip empty items at the start of
the `Iterator` until it found a non-empty item. This contradicts
`SliceConcatExt::join` which doesn't skip anything.

Brought up in:

#7776 (comment)
@mbrubeck
Copy link
Contributor

mbrubeck commented Sep 30, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Sep 30, 2015

📌 Commit ea5e4e3 has been approved by mbrubeck

@mbrubeck mbrubeck self-assigned this Sep 30, 2015
@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2015

Testing commit ea5e4e3 with merge 3abc33a...

bors-servo pushed a commit that referenced this pull request Oct 1, 2015
Make util::str::str_join consistent with SliceConcatExt::join

Prior to this commit, `str_join` would skip empty items at the start of
the `Iterator` until it found a non-empty item. This contradicts
`SliceConcatExt::join` which doesn't skip anything.

Brought up in:

#7776 (comment)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7806)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2015

💔 Test failed - mac-rel-wpt

@jdm
Copy link
Member

jdm commented Oct 1, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2015

Testing commit ea5e4e3 with merge 520c907...

bors-servo pushed a commit that referenced this pull request Oct 1, 2015
Make util::str::str_join consistent with SliceConcatExt::join

Prior to this commit, `str_join` would skip empty items at the start of
the `Iterator` until it found a non-empty item. This contradicts
`SliceConcatExt::join` which doesn't skip anything.

Brought up in:

#7776 (comment)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7806)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 1, 2015

@bors-servo bors-servo merged commit ea5e4e3 into servo:master Oct 1, 2015
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@frewsxcv frewsxcv deleted the frewsxcv:consistent-str-join branch Oct 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.