]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #3929 - KarboniteKream:single-char-pattern, r=oli-obk
authorbors <bors@rust-lang.org>
Mon, 8 Apr 2019 14:01:20 +0000 (14:01 +0000)
committerbors <bors@rust-lang.org>
Mon, 8 Apr 2019 14:01:20 +0000 (14:01 +0000)
Escape a single quote in single_char_pattern hint

This PR correctly escapes single quotes in the hint for `single_char_pattern`.
For instance, the hint for `x.split("'")` was `'''`, while it should be `'\''`.


Trivial merge