Skip to content

Commit 158aa1c

Browse files
authored
style: fix doc indentation (#742)
1 parent eb0670c commit 158aa1c

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
//! * [`crate::metadata::MigrationMetadata`]
5555
//! * [`crate::metadata::PopulationMetadata`]
5656
//!
57-
//! To see these derive macros in action, take a look
58-
//! [`here`](metadata).
57+
//! To see these derive macros in action, take a look
58+
//! [`here`](metadata).
5959
//!
6060
//! To add features to your `Cargo.toml` file:
6161
//!

src/table_collection.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,9 +1540,9 @@ impl TableCollection {
15401540
/// # Parameters
15411541
///
15421542
/// * `f`: a function. The function is passed the current table
1543-
/// collection and each [`crate::node_table::NodeTableRow`].
1544-
/// If `f` returns `true`, the index of that row is included
1545-
/// in the return value.
1543+
/// collection and each [`crate::node_table::NodeTableRow`].
1544+
/// If `f` returns `true`, the index of that row is included
1545+
/// in the return value.
15461546
///
15471547
/// # Examples
15481548
///
@@ -1585,10 +1585,10 @@ impl TableCollection {
15851585
/// # Return value
15861586
/// - `Ok(None)`: when truncation leads to empty edge table.
15871587
/// - `Ok(Some(TableCollection))`: when trunction is successfully performed
1588-
/// and results in non-empty edge table. The table collection is sorted.
1588+
/// and results in non-empty edge table. The table collection is sorted.
15891589
/// - `Error(TskitError)`: Any errors from the C API propagate. An
1590-
/// [TskitError::RangeError] will occur when `intervals` are not
1591-
/// sorted.
1590+
/// [TskitError::RangeError] will occur when `intervals` are not
1591+
/// sorted.
15921592
///
15931593
/// # Notes
15941594
///

src/trees/treeseq.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -366,10 +366,10 @@ impl TreeSequence {
366366
/// # Return value
367367
/// - `Ok(None)`: when truncation leads to empty edge table.
368368
/// - `Ok(Some(TableCollection))`: when trunction is successfully performed
369-
/// and results in non-empty edge table. The tables are sorted.
369+
/// and results in non-empty edge table. The tables are sorted.
370370
/// - `Error(TskitError)`: Any errors from the C API propagate. An
371-
/// [TskitError::RangeError] will occur when `intervals` are not
372-
/// sorted.
371+
/// [TskitError::RangeError] will occur when `intervals` are not
372+
/// sorted.
373373
///
374374
/// # Notes
375375
///
@@ -604,9 +604,9 @@ impl TreeSequence {
604604
/// # Parameters
605605
///
606606
/// * `f`: a function. The function is passed the current table
607-
/// collection and each [`crate::node_table::NodeTableRow`].
608-
/// If `f` returns `true`, the index of that row is included
609-
/// in the return value.
607+
/// collection and each [`crate::node_table::NodeTableRow`].
608+
/// If `f` returns `true`, the index of that row is included
609+
/// in the return value.
610610
///
611611
/// # Examples
612612
///

0 commit comments

Comments
 (0)