Skip to content

Commit

Permalink
Fix intra-doc link to raw pointer method
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Feb 15, 2021
1 parent 642486c commit 21ceebf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions library/core/src/lib.rs
Expand Up @@ -111,6 +111,7 @@
#![feature(extended_key_value_attributes)]
#![feature(extern_types)]
#![feature(fundamental)]
#![cfg_attr(not(bootstrap), feature(intra_doc_pointers))]
#![feature(intrinsics)]
#![feature(lang_items)]
#![feature(link_llvm_intrinsics)]
Expand Down
2 changes: 1 addition & 1 deletion library/core/src/ptr/metadata.rs
Expand Up @@ -48,7 +48,7 @@ use crate::hash::{Hash, Hasher};
/// A (possibly-wide) pointer can be put back together from its address and metadata
/// with [`from_raw_parts`] or [`from_raw_parts_mut`].
///
/// [`to_raw_parts`]: <*const _>::to_raw_parts
/// [`to_raw_parts`]: *const::to_raw_parts
#[lang = "pointee_trait"]
pub trait Pointee {
/// The type for metadata in pointers and references to `Self`.
Expand Down
1 change: 1 addition & 0 deletions library/std/src/lib.rs
Expand Up @@ -276,6 +276,7 @@
#![feature(int_error_matching)]
#![feature(integer_atomics)]
#![feature(into_future)]
#![cfg_attr(not(bootstrap), feature(intra_doc_pointers))]
#![feature(lang_items)]
#![feature(link_args)]
#![feature(linkage)]
Expand Down
1 change: 1 addition & 0 deletions src/test/rustdoc/intra-doc/libstd-re-export.rs
@@ -1,3 +1,4 @@
#![deny(broken_intra_doc_links)]
#![feature(intra_doc_pointers)]

pub use std::*;

0 comments on commit 21ceebf

Please sign in to comment.