Commit 479aefb
blake2-ppc
std::str: Fix bug in .slice_chars()
`s.slice_chars(a, b)` did not allow the case where `a == s.len()`, this
is a bug I introduced last time I touched the method; add a test for
this case.1 parent d8801ce commit 479aefb
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
| 1716 | + | |
1716 | 1717 | | |
1717 | 1718 | | |
1718 | 1719 | | |
| |||
2700 | 2701 | | |
2701 | 2702 | | |
2702 | 2703 | | |
| 2704 | + | |
2703 | 2705 | | |
2704 | 2706 | | |
| 2707 | + | |
| 2708 | + | |
2705 | 2709 | | |
2706 | 2710 | | |
2707 | 2711 | | |
| |||
0 commit comments