diff options
| author | diwic <diwic@users.noreply.github.com> | 2016-01-02 22:36:50 +0100 |
|---|---|---|
| committer | diwic <diwic@users.noreply.github.com> | 2016-01-02 22:36:50 +0100 |
| commit | 8b398ed8235c518dea5f29d80f8a337b7c6744cf (patch) | |
| tree | 4a1f956e7951ac71786cc25a7c92ac468fd30a65 /src/libsyntax/errors | |
| parent | 4744472fe03cceb81747ac9c7c64ae5fe6340c0b (diff) | |
| download | rust-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
