From 06307105e02f24729039a502f3b6c7dce7828482 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 21 Feb 2022 01:43:42 +0000 Subject: [PATCH] Use iterative_remove_min() --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 673b45e..90ad29e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -696,7 +696,7 @@ impl Node { (None, Some(_)) => *root = current.right.take(), (Some(_), Some(_)) => { root.as_mut().unwrap().value = - Node::recursive_remove_min(&mut current.right).unwrap() + Node::iterative_remove_min(&mut current.right).unwrap() } }