Skip to content

Commit 4c10026

Browse files
author
Jonathan Turner
authored
Rollup merge of rust-lang#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.
2 parents 0698929 + cd7a04c commit 4c10026

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/clean/inline.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ pub fn build_impls<'a, 'tcx>(cx: &DocContext,
301301
tcx.lang_items.char_impl(),
302302
tcx.lang_items.str_impl(),
303303
tcx.lang_items.slice_impl(),
304-
tcx.lang_items.slice_impl(),
305-
tcx.lang_items.const_ptr_impl()
304+
tcx.lang_items.const_ptr_impl(),
305+
tcx.lang_items.mut_ptr_impl(),
306306
];
307307

308308
for def_id in primitive_impls.iter().filter_map(|&def_id| def_id) {

0 commit comments

Comments
 (0)