@@ -3831,19 +3831,19 @@ mod tests {
38313831 }
38323832 }
38333833
3834- #[ cfg( not( feature = "no_std " ) ) ]
3834+ #[ cfg( not( feature = "no-std " ) ) ]
38353835 pub ( super ) fn random_init_seed ( ) -> u64 {
38363836 // Because the default HashMap in std pulls OS randomness, we can use it as a (bad) RNG.
38373837 use core:: hash:: { BuildHasher , Hasher } ;
38383838 let seed = std:: collections:: hash_map:: RandomState :: new ( ) . build_hasher ( ) . finish ( ) ;
38393839 println ! ( "Using seed of {}" , seed) ;
38403840 seed
38413841 }
3842- #[ cfg( not( feature = "no_std " ) ) ]
3842+ #[ cfg( not( feature = "no-std " ) ) ]
38433843 use util:: ser:: Readable ;
38443844
38453845 #[ test]
3846- #[ cfg( not( feature = "no_std " ) ) ]
3846+ #[ cfg( not( feature = "no-std " ) ) ]
38473847 fn generate_routes ( ) {
38483848 let mut d = match super :: test_utils:: get_route_file ( ) {
38493849 Ok ( f) => f,
@@ -3871,7 +3871,7 @@ mod tests {
38713871 }
38723872
38733873 #[ test]
3874- #[ cfg( not( feature = "no_std " ) ) ]
3874+ #[ cfg( not( feature = "no-std " ) ) ]
38753875 fn generate_routes_mpp ( ) {
38763876 let mut d = match super :: test_utils:: get_route_file ( ) {
38773877 Ok ( f) => f,
@@ -3899,7 +3899,7 @@ mod tests {
38993899 }
39003900}
39013901
3902- #[ cfg( all( test, not( feature = "no_std " ) ) ) ]
3902+ #[ cfg( all( test, not( feature = "no-std " ) ) ) ]
39033903pub ( crate ) mod test_utils {
39043904 use std:: fs:: File ;
39053905 /// Tries to open a network graph file, or panics with a URL to fetch it.
@@ -3926,7 +3926,7 @@ pub(crate) mod test_utils {
39263926 }
39273927}
39283928
3929- #[ cfg( all( test, feature = "unstable" , not( feature = "no_std " ) ) ) ]
3929+ #[ cfg( all( test, feature = "unstable" , not( feature = "no-std " ) ) ) ]
39303930mod benches {
39313931 use super :: * ;
39323932 use util:: logger:: { Logger , Record } ;
0 commit comments