about summary refs log tree commit diff
path: root/tests/rustdoc-ui/coverage/json.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-28 22:43:07 +0000
committerbors <bors@rust-lang.org>2022-10-28 22:43:07 +0000
commit71ddf815a04dd9241beb78697bff6aae7c2629b5 (patch)
treef25f308b755aa26406a473dc25ae4901c69d2e49 /tests/rustdoc-ui/coverage/json.rs
parent33137dd612cab59026bc5c0469b8761b198e3cae (diff)
parent7e68c718c0db31c317c77cf776441d695f715f41 (diff)
downloadrust-71ddf815a04dd9241beb78697bff6aae7c2629b5.tar.gz
rust-71ddf815a04dd9241beb78697bff6aae7c2629b5.zip
Auto merge of #9741 - llogiq:fix-string-extend-chars-slice-ref, r=Manishearth
fix the `string-extend-chars` suggestion on slice

This adds the missing `&` to the suggestion if the target is a `str` slice (e.g. extending with `"foo"[..].chars()`).

This closes #9735.

---

changelog: fix the `string-extend-chars` suggestion for `str` slices
Diffstat (limited to 'tests/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions