We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bf2b69 commit 67170e7Copy full SHA for 67170e7
lightning/src/util/indexed_map.rs
@@ -19,7 +19,7 @@ use core::ops::RangeBounds;
19
/// Thus, we have a custom data structure here - its API mimics that of Rust's `BTreeMap`, but is
20
/// actually backed by a [`HashMap`], with some additional tracking to ensure we can iterate over
21
/// keys in the order defined by [`Ord`].
22
-#[derive(Clone, PartialEq, Eq)]
+#[derive(Clone, Debug, PartialEq, Eq)]
23
pub struct IndexedMap<K: Hash + Ord, V> {
24
map: HashMap<K, V>,
25
// TODO: Explore swapping this for a sorted vec (that is only sorted on first range() call)
0 commit comments