From 0c53a1c460b3155aa792d0b4ec7333c022511607 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Mon, 21 Feb 2022 23:00:16 +0000 Subject: [PATCH] Fix doc test --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 00b5ded..39fee02 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -122,7 +122,7 @@ pub trait BinarySearchTree { /// ```rust /// use bst_rs::{BinarySearchTree, IterativeBST}; /// - /// let mut bst = IterativeBST::new(); + /// let mut bst: IterativeBST = IterativeBST::new(); /// assert!(bst.is_empty()) fn new() -> Self;