diff --git a/Cargo.lock b/Cargo.lock index 7e6baf2..1b6f19d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -337,9 +337,9 @@ checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "louds-rs" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b89b57c02945ced04b55177561050584fc438e1d457bdd4fc7ea4a94b98ad68f" +checksum = "936de6c22f08e7135a921f8ada907acd0d88880c4f42b5591f634b9f1dd8e07f" dependencies = [ "fid-rs", "mem_dbg", diff --git a/Cargo.toml b/Cargo.toml index c2aa36d..692a26e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ categories = ["compression", "data-structures"] edition = "2021" [dependencies] -louds-rs = "0.6" +louds-rs = "0.7" mem_dbg = { version = "0.1.4", optional = true } serde = { version = "1.0", features = ["derive"], optional = true } diff --git a/src/inc_search.rs b/src/inc_search.rs index 211a494..df585e0 100644 --- a/src/inc_search.rs +++ b/src/inc_search.rs @@ -40,7 +40,7 @@ //! the loop. use crate::{ map::Trie, - // try_collect::{TryCollect, TryFromIterator}, + try_collect::{TryCollect, TryFromIterator}, }; use louds_rs::LoudsNodeNum; @@ -184,17 +184,17 @@ impl<'a, Label: Ord, Value> IncSearch<'a, Label, Value> { self.trie.value(self.node) } - // Return the current prefix for this search. - // pub fn prefix(&self) -> C - // where - // C: TryFromIterator, - // Label: Clone, - // { - // let mut v: Vec