projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark several test_utils which are only used in test as `cfg(test)`
[rust-lightning]
/
lightning
/
src
/
util
/
indexed_map.rs
diff --git
a/lightning/src/util/indexed_map.rs
b/lightning/src/util/indexed_map.rs
index d4c20f722154fe499c68a296c45f25d8dd55aff4..4f694bd2b6ec723e5dcaed614db36bdad0ea2aeb 100644
(file)
--- a/
lightning/src/util/indexed_map.rs
+++ b/
lightning/src/util/indexed_map.rs
@@
-1,10
+1,8
@@
//! This module has a map which can be iterated in a deterministic order. See the [`IndexedMap`].
use crate::prelude::*;
//! This module has a map which can be iterated in a deterministic order. See the [`IndexedMap`].
use crate::prelude::*;
-use alloc::vec::Vec;
use alloc::slice::Iter;
use core::hash::Hash;
use alloc::slice::Iter;
use core::hash::Hash;
-use core::cmp::Ord;
use core::ops::{Bound, RangeBounds};
/// A map which can be iterated in a deterministic order.
use core::ops::{Bound, RangeBounds};
/// A map which can be iterated in a deterministic order.