diff options
| author | Jonathan Turner <jonathandturner@users.noreply.github.com> | 2016-10-06 08:35:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-06 08:35:43 -0700 |
| commit | 4c100260e03d41034d7746cd3e0244170e40ff7e (patch) | |
| tree | 9188d6e5d7e7d6a1c61fe4180c797e5ed460211c | |
| parent | 06989295639d5fd6f08977271339702f48c75e23 (diff) | |
| parent | cd7a04cadcc046014bec5b9eea0abe06761f1e7f (diff) | |
| download | rust-4c100260e03d41034d7746cd3e0244170e40ff7e.tar.gz rust-4c100260e03d41034d7746cd3e0244170e40ff7e.zip | |
Rollup merge of #36966 - ollie27:rustdoc_mut_ptr_impl, r=alexcrichton
rustdoc: Fix missing *mut T impl `impl<T> *mut T` is currently missing from https://doc.rust-lang.org/nightly/std/primitive.pointer.html and this adds it back.
| -rw-r--r-- | src/librustdoc/clean/inline.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/clean/inline.rs b/src/librustdoc/clean/inline.rs index feca2d328fe..31497b6bd33 100644 --- a/src/librustdoc/clean/inline.rs +++ b/src/librustdoc/clean/inline.rs @@ -301,8 +301,8 @@ pub fn build_impls<'a, 'tcx>(cx: &DocContext, tcx.lang_items.char_impl(), tcx.lang_items.str_impl(), tcx.lang_items.slice_impl(), - tcx.lang_items.slice_impl(), - tcx.lang_items.const_ptr_impl() + tcx.lang_items.const_ptr_impl(), + tcx.lang_items.mut_ptr_impl(), ]; for def_id in primitive_impls.iter().filter_map(|&def_id| def_id) { |
