Skip to content

Commit

Permalink
style: resolve elided_named_lifetimes warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 committed Dec 5, 2024
1 parent 896abae commit f8fb558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data_structures/veb_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ pub struct VebTreeIter<'a> {
}

impl<'a> VebTreeIter<'a> {
pub fn new(tree: &'a VebTree) -> VebTreeIter {
pub fn new(tree: &'a VebTree) -> VebTreeIter<'a> {
let curr = if tree.empty() { None } else { Some(tree.min) };
VebTreeIter { tree, curr }
}
Expand Down

0 comments on commit f8fb558

Please sign in to comment.