]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #61965 - phil-opp:patch-4, r=scottmcm
authorMazdak Farrokhzad <twingoow@gmail.com>
Tue, 30 Jul 2019 03:37:30 +0000 (05:37 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Jul 2019 03:37:30 +0000 (05:37 +0200)
commitb5bea2565e565dd014f768921f63d111ebfe27d3
treecfd4a17ff572c2d1193c4eb72ac245e608335073
parent04b88a9eba8abbac87eddcb2998beea09589c2c9
parentc9c73f5d2550f00e9b952e65d05421721b73ee6d
Rollup merge of #61965 - phil-opp:patch-4, r=scottmcm

Remove mentions of removed `offset_to` method from `align_offset` docs

The `offset_to` method was deleted in https://github.com/rust-lang/rust/pull/52814.

The replacement for the removed method is `wrapping_offset_from`. However, neither method takes an `usize` as argument, so I don't think that it makes sense to mention them.
src/libcore/ptr/mod.rs