Skip to content

Commit

Permalink
docs: enable intra_doc_pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
V0ldek committed May 17, 2022
1 parent 08b191f commit 8692131
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
// feature(doc_cfg) is nightly (https://doc.rust-lang.org/unstable-book/language-features/doc-cfg.html)
// Since we don't want the entire crate to be nightly, this is enabled only when building documentation.
#![cfg_attr(docsrs, feature(doc_cfg))]
// Same goes for the revolutionary "link to pointers documentation" feature.
// (https://github.com/rust-lang/rust/issues/80896).
#![cfg_attr(docsrs, feature(intra_doc_pointers))]

//! Structures providing guarantees on byte sequence alignment.
//!
Expand Down

0 comments on commit 8692131

Please sign in to comment.