From c5951007f53ea3bcdf73efb0b1543e8a6cf8af97 Mon Sep 17 00:00:00 2001 From: Stu Black Date: Wed, 12 Nov 2025 17:03:23 -0500 Subject: [PATCH] Nix dead code that was left commented out. --- wutil-rs/src/bag.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/wutil-rs/src/bag.rs b/wutil-rs/src/bag.rs index afe71ea7..5115c91f 100644 --- a/wutil-rs/src/bag.rs +++ b/wutil-rs/src/bag.rs @@ -26,7 +26,6 @@ impl Bag { /// Returns `Ok(index)` if an item keyed by `key` is in `self`, else /// `Err(index)` if an item keyed by `key` could be inserted at `index`. fn search(&self, key: c_int) -> Result { - // self.inner.binary_search_by(|x| key.cmp(&x.0)) self.inner.binary_search_by_key(&key, |(key, _)| *key) }