From 95178b525afeb96fe834f2ace97b4af52420a31c Mon Sep 17 00:00:00 2001 From: "Surply, Pierre" Date: Fri, 6 Jun 2025 22:19:43 +0200 Subject: [PATCH] lib: fix clippy warning Fix the following clippy warning: warning: lifetime flowing from input to output with different syntax can be confusing Signed-off-by: Surply, Pierre --- lib/src/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/node.rs b/lib/src/node.rs index d21698a..8e74006 100644 --- a/lib/src/node.rs +++ b/lib/src/node.rs @@ -243,7 +243,7 @@ impl Node { /// assert_eq!(children.next(), Some(&Node::section("foo"))); /// assert_eq!(children.next(), None); /// ``` - pub fn children(&self) -> NodeChildren { + pub fn children(&self) -> NodeChildren<'_> { NodeChildren { iter: self.children.values(), }