Skip to content

Commit

Permalink
unnecessary lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
cyypherus committed Jan 31, 2025
1 parent 256ea29 commit a2b9927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub fn area_reader<'nodes, State>(
}
}
/// Returns a dynamic set of nodes based on state
pub fn dynamic<'nodes, State: 'nodes>(
pub fn dynamic<'nodes, State>(
func: impl Fn(&'_ mut State) -> Node<'nodes, State> + 'nodes,
) -> Node<'nodes, State> {
Node {
Expand Down

0 comments on commit a2b9927

Please sign in to comment.