about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-04-21 18:42:41 +0000
committerbors <bors@rust-lang.org>2018-04-21 18:42:41 +0000
commit699eb95ae3dae023cddca85facf6660b196bd0d1 (patch)
tree3832605aa9880861a33e4c5b86e4c7398d9a4337 /src/libsyntax
parentd2577ca1ec1449bd83d05e540c57447574ccaa28 (diff)
parent90b361b3a748e9fb01cd9aec7b83edca2d9e996e (diff)
downloadrust-699eb95ae3dae023cddca85facf6660b196bd0d1.tar.gz
rust-699eb95ae3dae023cddca85facf6660b196bd0d1.zip
Auto merge of #50039 - ExpHP:quick-50002, r=alexcrichton
smaller PR just to fix #50002

I pulled this out of #50010 to make it easier to backport to beta if necessary, considering that inclusive range syntax is stabilizing soon (?).

It fixes a bug in `<str>::index_mut` with `(..=end)` ranges (#50002), which prior to this fix was not only unusable but also UB in the cases where it "worked" (it gave improperly truncated UTF-8).

(not that I can imagine why anybody would *use* `<str>::index_mut`... but I'm not here to judge)
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions