Skip to content

Commit 448307e

Browse files
committed
Clear TapTreeIter clippy warning
Clippy emits warning: public documentation for `script_leaves` links to private item `TapTreeIter` I'm not exactly sure why this is but adding the generic type place holder clears the warning.
1 parent 784f583 commit 448307e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/psbt/map/output.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl TapTree {
168168
self.0.clone()
169169
}
170170

171-
/// Returns [`TapTreeIter`] iterator for a taproot script tree, operating in DFS order over
171+
/// Returns [`TapTreeIter<'_>`] iterator for a taproot script tree, operating in DFS order over
172172
/// tree [`ScriptLeaf`]s.
173173
pub fn script_leaves(&self) -> TapTreeIter {
174174
match (self.0.branch().len(), self.0.branch().last()) {

0 commit comments

Comments
 (0)