Removes the key from the set if the key is present
(&mut self, key: &str)
| 97 | |
| 98 | /// Removes the key from the set if the key is present |
| 99 | pub fn delete(&mut self, key: &str) { |
| 100 | let mut root = self.root; |
| 101 | root = unsafe { self.delete_dth(root, key, 0) }; |
| 102 | self.root = root; |
| 103 | } |
| 104 | |
| 105 | /// Returns all keys in the symbol table |
| 106 | pub fn keys(&self) -> Queue<String> { |