Files
rust/src/libcore
Manish Goregaokar 671027817c Rollup merge of #32456 - bluss:str-zero, r=alexcrichton
Hardcode accepting 0 as a valid str char boundary

If we check explicitly for index == 0, that removes the need to read the
byte at index 0, so it avoids a trip to the string's memory, and it
optimizes out the slicing index' bounds check whenever it is (a constant) zero.
2016-03-26 13:42:04 +05:30
..
2016-03-22 22:01:37 -05:00
2016-03-22 22:01:37 -05:00
2016-03-08 13:44:14 -08:00
2016-03-01 20:44:48 +08:00
2016-03-07 16:27:21 +01:00
2016-03-22 18:18:01 +01:00
2016-03-18 15:47:33 +01:00
2016-02-09 11:52:39 -05:00
2015-11-12 05:16:08 +00:00
2016-03-22 22:02:47 -05:00
2016-03-08 13:44:14 -08:00
2015-12-21 09:26:21 -08:00
2016-03-24 13:24:39 +01:00
2016-02-09 16:00:50 -05:00