From 9421a542a90b5e15325f54631468b21108e308fe Mon Sep 17 00:00:00 2001 From: Kevin Thornton Date: Tue, 5 May 2026 04:43:56 -0700 Subject: [PATCH] fix since field of deprecation warning --- src/node_table.rs | 2 +- src/table_collection.rs | 2 +- src/trees/treeseq.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/node_table.rs b/src/node_table.rs index 495849bc..a2deafa2 100644 --- a/src/node_table.rs +++ b/src/node_table.rs @@ -502,7 +502,7 @@ impl NodeTable { /// Obtain a vector containing the indexes ("ids") of all nodes /// satisfying a certain criterion. #[deprecated( - since = "0.16.1", + since = "0.16.2", note = "Prefer NodeTable::iter and iterator operations" )] pub fn create_node_id_vector<'t>( diff --git a/src/table_collection.rs b/src/table_collection.rs index 4133bc85..56b0ebfe 100644 --- a/src/table_collection.rs +++ b/src/table_collection.rs @@ -1577,7 +1577,7 @@ impl TableCollection { /// assert_eq!(samples[0], 1); /// ``` #[deprecated( - since = "0.16.1", + since = "0.16.2", note = "Prefer TableCollection::node_iter and iterator operations" )] pub fn create_node_id_vector<'t>( diff --git a/src/trees/treeseq.rs b/src/trees/treeseq.rs index 83c9b3b4..22cef9cf 100644 --- a/src/trees/treeseq.rs +++ b/src/trees/treeseq.rs @@ -610,7 +610,7 @@ impl TreeSequence { /// /// See [`crate::TableCollection::create_node_id_vector`]. #[deprecated( - since = "0.16.1", + since = "0.16.2", note = "Prefer TreeSequence::node_iter and iterator operations" )] pub fn create_node_id_vector<'ts>(