syntax: Use iterator and pattern APIs instead of char_at #55466
syntax: Use iterator and pattern APIs instead of char_at #55466bors merged 3 commits intorust-lang:masterfrom
char_at #55466Conversation
|
r? @eddyb (rust_highfive has picked a reviewer for you, use r? to override) |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
@bors r+ |
|
📌 Commit 4e31282 has been approved by |
syntax: Use iterator and pattern APIs instead of `char_at` Iterating over chars with the `char_at(str, i)` `i += ch.len_utf8()` loop seems unidiomatic.
|
⌛ Testing commit 4e31282 with merge 104c01b6776c91b1c90f44d3d3fc7f90df8acee2... |
|
💔 Test failed - status-travis |
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
|
Pretty-printing tests need fixing. |
|
Fixed. |
|
@bors r+ |
|
📌 Commit f423ff7 has been approved by |
syntax: Use iterator and pattern APIs instead of `char_at` Iterating over chars with the `char_at(str, i)` `i += ch.len_utf8()` loop seems unidiomatic.
|
☀️ Test successful - status-appveyor, status-travis |
Iterating over chars with the
char_at(str, i)i += ch.len_utf8()loop seems unidiomatic.