]> git.lizzy.rs Git - rust.git/commit
Don't return empty slice on last iteration with matched terminator. Test reverse...
authorPyry Kontio <pyry.kontio@drasa.eu>
Sat, 25 Jan 2020 08:47:46 +0000 (17:47 +0900)
committerPyry Kontio <pyry.kontio@drasa.eu>
Sun, 9 Feb 2020 14:49:44 +0000 (23:49 +0900)
commit5c9dc57cb587761561e85574c821a6f9c0c7cc67
tree9a2ad20c10a99667433ed446e9ecd286c4c0f9bb
parent86bf96291d8222dbec9e07461404ecb189be0a98
Don't return empty slice on last iteration with matched terminator. Test reverse iteration.
src/liballoc/tests/slice.rs
src/liballoc/tests/str.rs
src/libcore/slice/mod.rs
src/libcore/str/mod.rs