diff --git a/src/lib.rs b/src/lib.rs index 3ef6caeb8..1729df519 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -54,8 +54,8 @@ //! * [`crate::metadata::MigrationMetadata`] //! * [`crate::metadata::PopulationMetadata`] //! -//! To see these derive macros in action, take a look -//! [`here`](metadata). +//! To see these derive macros in action, take a look +//! [`here`](metadata). //! //! To add features to your `Cargo.toml` file: //! diff --git a/src/table_collection.rs b/src/table_collection.rs index f24542adb..a5ba5a78c 100644 --- a/src/table_collection.rs +++ b/src/table_collection.rs @@ -1540,9 +1540,9 @@ impl TableCollection { /// # Parameters /// /// * `f`: a function. The function is passed the current table - /// collection and each [`crate::node_table::NodeTableRow`]. - /// If `f` returns `true`, the index of that row is included - /// in the return value. + /// collection and each [`crate::node_table::NodeTableRow`]. + /// If `f` returns `true`, the index of that row is included + /// in the return value. /// /// # Examples /// @@ -1585,10 +1585,10 @@ impl TableCollection { /// # Return value /// - `Ok(None)`: when truncation leads to empty edge table. /// - `Ok(Some(TableCollection))`: when trunction is successfully performed - /// and results in non-empty edge table. The table collection is sorted. + /// and results in non-empty edge table. The table collection is sorted. /// - `Error(TskitError)`: Any errors from the C API propagate. An - /// [TskitError::RangeError] will occur when `intervals` are not - /// sorted. + /// [TskitError::RangeError] will occur when `intervals` are not + /// sorted. /// /// # Notes /// diff --git a/src/trees/treeseq.rs b/src/trees/treeseq.rs index a4cc21933..f916e457b 100644 --- a/src/trees/treeseq.rs +++ b/src/trees/treeseq.rs @@ -366,10 +366,10 @@ impl TreeSequence { /// # Return value /// - `Ok(None)`: when truncation leads to empty edge table. /// - `Ok(Some(TableCollection))`: when trunction is successfully performed - /// and results in non-empty edge table. The tables are sorted. + /// and results in non-empty edge table. The tables are sorted. /// - `Error(TskitError)`: Any errors from the C API propagate. An - /// [TskitError::RangeError] will occur when `intervals` are not - /// sorted. + /// [TskitError::RangeError] will occur when `intervals` are not + /// sorted. /// /// # Notes /// @@ -604,9 +604,9 @@ impl TreeSequence { /// # Parameters /// /// * `f`: a function. The function is passed the current table - /// collection and each [`crate::node_table::NodeTableRow`]. - /// If `f` returns `true`, the index of that row is included - /// in the return value. + /// collection and each [`crate::node_table::NodeTableRow`]. + /// If `f` returns `true`, the index of that row is included + /// in the return value. /// /// # Examples ///