Skip to content

Commit

Permalink
Remove useless lifetime annotation to please clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
yannham committed Oct 29, 2024
1 parent e52cf30 commit ab41826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/bytecode/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ impl AstAlloc {
self.generic_arena.alloc(node)
}

pub fn number<'ast>(&'ast self, number: Number) -> Node<'ast> {
pub fn number(&self, number: Number) -> Node<'_> {
Node::Number(self.number_arena.alloc(number))
}

Expand Down

0 comments on commit ab41826

Please sign in to comment.