Skip to content

Commit

Permalink
Fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Dec 6, 2024
1 parent 1623519 commit 27aea84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/translator/trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl Trie {
&'a self,
input: &str,
node: &'a TrieNode,
) -> Vec<&Translation> {
) -> Vec<&'a Translation> {
let mut current_node = node;
let mut matching_rules = Vec::new();
let mut prev: Option<char> = None;
Expand Down

0 comments on commit 27aea84

Please sign in to comment.