diff --git a/Cargo.toml b/Cargo.toml index 3b90e09..6021dba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "Small byte-sized generic key-value map type" keywords = ["map", "table", "small", "key", "value"] repository = "https://github.com/notflan/smallmap" homepage= "https://git.flanchan.moe/flanchan/smallmap" -version = "1.1.4" +version = "1.1.5" authors = ["Avril "] edition = "2018" license = "MIT" diff --git a/src/iter.rs b/src/iter.rs index 7b3be41..909e94d 100644 --- a/src/iter.rs +++ b/src/iter.rs @@ -114,23 +114,15 @@ where K: Collapse { type Item = &'a (K,V); fn next(&mut self) -> Option { - println!("Start loop"); loop { if let Some(ref mut page) = self.0 { if let Some(elem) = page.next() { - println!("!!!!! Get"); return Some(elem); - } else { - println!("NO ENTRY IN PAGE"); - } - } else { - println!("NO PAGE"); + } } if let Some(next_page) = self.1.next() { - println!("REPLACE"); self.0.replace(next_page.iter()); } else { - println!("NONE"); return None; } }