From f1b2ae3f68180d32e66e4e6a623d9727c1d4c8c8 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 18 Feb 2022 01:57:00 +0000 Subject: [PATCH] Remove commented out code --- src/lib.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 19a94a4..deb7e0a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -323,24 +323,6 @@ impl BinarySearchTree { } } -// impl Drop for BST { -// fn drop(&mut self) { -// todo!("I need help with this :sob: :sob:") -// -// // let mut stack = vec![&self.root]; -// // let mut out: Vec<&LinkNode> = Vec::new(); -// // -// // while !stack.is_empty() { -// // let cur_node = stack.pop().unwrap(); -// // out.push(cur_node); -// // -// // if let Some(node) = &cur_node.as_ref().unwrap().left { -// // stack.push() -// // } -// // } -// } -// } - #[cfg(test)] mod bst_test { use super::BinarySearchTree;