Skip to content

Commit bedfa02

Browse files
authored
Merge pull request #29 from molpopgen/metadata_docs
Quick fix regarding documenting metadata. Closes #25
2 parents 4518db4 + d8873a7 commit bedfa02

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/table_collection.rs

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ use ll_bindings::tsk_table_collection_free;
1818
///
1919
/// # Current limitations
2020
///
21-
/// 1. No support for adding metadata to tables.
22-
/// In later versions, we will add separate
23-
/// "add row" functions to allow metadata.
24-
///
25-
/// The issue with metadata is just a temporary
26-
/// uncertainty in how best to handle the ``char *``
27-
/// round trips to/from ``rust``.
28-
///
2921
/// # Examples
3022
///
3123
/// ```
@@ -49,13 +41,14 @@ use ll_bindings::tsk_table_collection_free;
4941
/// assert_eq!(nodes.num_rows(), 1);
5042
/// ```
5143
///
44+
/// See the examples/ directory of the repository for examples of metadata encoding
45+
/// and decoding.
46+
///
5247
/// # Future road map
5348
///
5449
/// 1. Support all table types. Currently, we only support
5550
/// those needed for current goals in ongoing projects.
56-
/// 2. For all ``add_foo`` functions, add an additional
57-
/// ``add_foo_with_metadata``. (See above)
58-
/// 3. Strengthen some of the error handling.
51+
/// 2. Strengthen some of the error handling.
5952
///
6053
/// Addressing point 3 may require API breakage.
6154
pub struct TableCollection {

0 commit comments

Comments
 (0)