From c0b8c4d7833c30916eace4fbcd509f1badaa9106 Mon Sep 17 00:00:00 2001 From: Nate Wilcox Date: Fri, 2 Jun 2023 14:16:05 -0600 Subject: [PATCH] Fix all `cargo doc` warnings about dangling refs. --- shardtree/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shardtree/src/lib.rs b/shardtree/src/lib.rs index 3dbcf28..ff9bcfa 100644 --- a/shardtree/src/lib.rs +++ b/shardtree/src/lib.rs @@ -294,8 +294,8 @@ impl PrunableTree { } } - /// Returns a vector of the positions of [`Node::Leaf`] values in the tree having - /// [`Retention::Marked`] retention. + /// Returns a vector of the positions of [`Node::Leaf`] values in the tree having [`MARKED`](RetentionFlags::MARKED) + /// retention. /// /// Computing the set of marked positions requires a full traversal of the tree, and so should /// be considered to be a somewhat expensive operation.