]> git.lizzy.rs Git - rust.git/commit
sort: Guard the fast path by length check
authorUlrik Sverdrup <bluss@users.noreply.github.com>
Sat, 7 Nov 2015 17:09:20 +0000 (18:09 +0100)
committerUlrik Sverdrup <bluss@users.noreply.github.com>
Sat, 7 Nov 2015 17:09:20 +0000 (18:09 +0100)
commit0f5e30d16004334cac1a25dbeefc0cfb886a404d
tree3809175f39543f1fb6000fb9f4418323c160941f
parent35fd1bab5e727061248c7810ca1fbe81e336d019
sort: Guard the fast path by length check

The right part must not be empty.
src/libcollections/slice.rs