]> git.lizzy.rs Git - rust.git/commit
Deprecate offset_to; switch core&alloc to using offset_from instead
authorScott McMurray <scottmcm@users.noreply.github.com>
Sun, 1 Apr 2018 05:35:37 +0000 (22:35 -0700)
committerScott McMurray <scottmcm@users.noreply.github.com>
Sun, 1 Apr 2018 05:35:37 +0000 (22:35 -0700)
commitb394165538bc52063f79a1820135cfefa19370e7
treea5f7dd9904f273e68887449cd4fc6d755e37ec3e
parent80785a547d29519dbdb5781437ec318fb210b980
Deprecate offset_to; switch core&alloc to using offset_from instead

Bonus: might make code than uses `.len()` on slice iterators faster
src/liballoc/lib.rs
src/liballoc/vec.rs
src/libcore/ptr.rs
src/libcore/slice/mod.rs