Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Mar 27, 2024
1 parent 8530890 commit 9acdf1e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/translator/trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,6 @@ impl Trie {
}
}

// pub fn insert(&mut self, word: &str, translation: Translation) {
// let mut current_node = &mut self.root;

// for c in word.chars() {
// current_node = current_node
// .transitions
// .entry(Transition::Character(c))
// .or_default();
// }
// current_node.translation = Some(translation);
// }

pub fn insert(
&mut self,
word: &str,
Expand Down

0 comments on commit 9acdf1e

Please sign in to comment.