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 46ade7a commit 51a58a9Copy full SHA for 51a58a9
lightning/src/ln/functional_test_utils.rs
@@ -106,7 +106,7 @@ impl ConnectStyle {
106
fn random_style() -> ConnectStyle {
107
#[cfg(feature = "std")] {
108
use core::hash::{BuildHasher, Hasher};
109
- // Get a random value using the only std AIP to do so - the DefaultHasher
+ // Get a random value using the only std API to do so - the DefaultHasher
110
let rand_val = std::collections::hash_map::RandomState::new().build_hasher().finish();
111
let res = match rand_val % 7 {
112
0 => ConnectStyle::BestBlockFirst,
0 commit comments