File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed
Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 7777#![ allow( non_camel_case_types) ]
7878#![ allow( non_snake_case) ]
7979#![ cfg_attr( doc_cfg, feature( doc_cfg) ) ]
80+ #![ deny( rustdoc:: broken_intra_doc_links) ]
8081
8182#[ cfg( feature = "bindings" ) ]
8283pub use sys:: bindings;
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ pub use crate::sys::newtypes::PopulationId;
9494
9595/// A provenance ID
9696///
97- /// This is an integer referring to a row of a [``provenance::ProvenanceTable``].
97+ /// This is an integer referring to a row of a [``crate:: provenance::ProvenanceTable``].
9898///
9999/// The features for this type follow the same pattern as for [``NodeId``]
100100#[ cfg( feature = "provenance" ) ]
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ impl TableSortOptions {
438438 contains ! ( ) ;
439439}
440440
441- /// Modify behavior of [`crate::TableCollection::sort_individuals `].
441+ /// Modify behavior of [`crate::TableCollection::topological_sort_individuals `].
442442///
443443/// # Examples
444444///
@@ -458,8 +458,8 @@ impl IndividualTableSortOptions {
458458 contains ! ( ) ;
459459}
460460
461- /// Specify the behavior of iterating over [`Tree`] objects.
462- /// See [`TreeSequence::tree_iterator`].
461+ /// Specify the behavior of iterating over [`crate:: Tree`] objects.
462+ /// See [`crate:: TreeSequence::tree_iterator`].
463463///
464464/// # Examples
465465///
@@ -491,7 +491,7 @@ pub struct TreeFlags(RawFlags);
491491
492492impl TreeFlags {
493493 make_constant_self ! (
494- /// Update sample lists, enabling [`Tree::samples`].
494+ /// Update sample lists, enabling [`crate:: Tree::samples`].
495495 => SAMPLE_LISTS , TSK_SAMPLE_LISTS ) ;
496496 make_constant_self ! (
497497 /// Do *not* update the number of samples descending
Original file line number Diff line number Diff line change @@ -488,11 +488,11 @@ impl NodeIterator for SamplesIterator<'_> {
488488
489489#[ non_exhaustive]
490490pub enum NodeTraversalOrder {
491- ///Preorder traversal, starting at the root(s) of a [`TreeInterface`] .
491+ ///Preorder traversal, starting at the root(s) of a tree .
492492 ///For trees with multiple roots, start at the left root,
493493 ///traverse to tips, proceeed to the next root, etc..
494494 Preorder ,
495- ///Postorder traversal, starting at the root(s) of a [`TreeInterface`] .
495+ ///Postorder traversal, starting at the root(s) of a tree .
496496 ///For trees with multiple roots, start at the left root,
497497 ///traverse to tips, proceeed to the next root, etc..
498498 Postorder ,
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ impl<'treeseq> Tree<'treeseq> {
6666 ///
6767 /// # Parameters
6868 ///
69- /// * `by_span`: if `true`, multiply the return value by [`TreeInterface ::span`].
69+ /// * `by_span`: if `true`, multiply the return value by [`Tree ::span`].
7070 ///
7171 /// # Errors
7272 ///
@@ -303,7 +303,7 @@ impl<'treeseq> Tree<'treeseq> {
303303 ///
304304 /// # Parameters
305305 ///
306- /// * `order`: A value from [`NodeTraversalOrder`] specifying the
306+ /// * `order`: A value from [`crate:: NodeTraversalOrder`] specifying the
307307 /// iteration order.
308308 // Return value is dyn for later addition of other traversal orders
309309 pub fn traverse_nodes (
You can’t perform that action at this time.
0 commit comments