]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Auto merge of #49551 - scottmcm:deprecate-offset_to, r=KodrAus
authorbors <bors@rust-lang.org>
Thu, 12 Apr 2018 08:29:10 +0000 (08:29 +0000)
committerbors <bors@rust-lang.org>
Thu, 12 Apr 2018 08:29:10 +0000 (08:29 +0000)
commit9afed646451175e24964cc76688293cb87ed718c
treeff518211ee157f47f822f7652c053251b34ccf2f
parent252a459d373f40512ed9137d59e4b6bea5d6aaee
parentb394165538bc52063f79a1820135cfefa19370e7
Auto merge of #49551 - scottmcm:deprecate-offset_to, r=KodrAus

Deprecate offset_to; switch core&alloc to using offset_from instead

Bonus: might make code than uses `.len()` on slice iterators faster

cc https://github.com/rust-lang/rust/issues/41079
src/liballoc/lib.rs
src/liballoc/vec.rs