Skip to content

Commit 33025f7

Browse files
committed
fix doc links
1 parent 22eceb8 commit 33025f7

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/table_collection.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,8 @@ impl TableCollection {
11191119
}
11201120

11211121
#[cfg(any(doc, feature = "provenance"))]
1122-
/// Set the provenance table from an [`OwnedProvenanceTable`](`crate::provenance::OwnedSiteTable`)
1122+
/// Set the provenance table from an
1123+
/// [`OwnedProvenanceTable`](`crate::provenance::OwnedProvenanceTable`)
11231124
///
11241125
/// # Errors
11251126
///

src/tree_interface.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ impl TreeInterface {
500500
///
501501
/// # Parameters
502502
///
503-
/// * `by_span`: if `true`, multiply the return value by [`Tree::span`].
503+
/// * `by_span`: if `true`, multiply the return value by [`TreeInterface::span`].
504504
///
505505
/// # Errors
506506
///
@@ -561,13 +561,13 @@ impl TreeInterface {
561561
}
562562

563563
/// Specify the traversal order used by
564-
/// [`Tree::traverse_nodes`].
564+
/// [`TreeInterface::traverse_nodes`].
565565
pub enum NodeTraversalOrder {
566-
///Preorder traversal, starting at the root(s) of a [`Tree`].
566+
///Preorder traversal, starting at the root(s) of a [`TreeInterface`].
567567
///For trees with multiple roots, start at the left root,
568568
///traverse to tips, proceeed to the next root, etc..
569569
Preorder,
570-
///Postorder traversal, starting at the root(s) of a [`Tree`].
570+
///Postorder traversal, starting at the root(s) of a [`TreeInterface`].
571571
///For trees with multiple roots, start at the left root,
572572
///traverse to tips, proceeed to the next root, etc..
573573
Postorder,

src/trees.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ impl TreeSequence {
370370
/// # Parameters
371371
///
372372
/// * `lambda` specifies the relative weight of topology and branch length.
373-
/// See [`Tree::kc_distance`] for more details.
373+
/// See [`TreeInterface::kc_distance`] for more details.
374374
pub fn kc_distance(&self, other: &TreeSequence, lambda: f64) -> Result<f64, TskitError> {
375375
let mut kc: f64 = f64::NAN;
376376
let kcp: *mut f64 = &mut kc;

0 commit comments

Comments
 (0)