about summary refs log tree commit diff
path: root/src/libsyntax/errors
diff options
context:
space:
mode:
authordiwic <diwic@users.noreply.github.com>2016-01-02 22:36:50 +0100
committerdiwic <diwic@users.noreply.github.com>2016-01-02 22:36:50 +0100
commit8b398ed8235c518dea5f29d80f8a337b7c6744cf (patch)
tree4a1f956e7951ac71786cc25a7c92ac468fd30a65 /src/libsyntax/errors
parent4744472fe03cceb81747ac9c7c64ae5fe6340c0b (diff)
downloadrust-8b398ed8235c518dea5f29d80f8a337b7c6744cf.tar.gz
rust-8b398ed8235c518dea5f29d80f8a337b7c6744cf.zip
Fix off-by-one in String::remove
Obviously we can't remove the character one past the end of the String. And we can't today either - we'll just panic at char_at() instead - but if we're going to keep that assertion, we should at least have a correct assertion.
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions