File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ edition = "2024"
1414eetf = " 0.11"
1515futures = " 0.3"
1616md5 = " 0.8"
17- rand = " 0.9 "
17+ rand = " 0.10 "
1818
1919[dev-dependencies ]
2020noargs = " 0.4.1"
Original file line number Diff line number Diff line change @@ -111,13 +111,21 @@ fn main() -> noargs::Result<()> {
111111 f. member ( "port" , node_info. port ) ?;
112112 f. member (
113113 "node_type" ,
114- format ! ( "{:?} ({})" , node_info. node_type, u8 :: from( node_info. node_type) )
115- . as_str ( ) ,
114+ format ! (
115+ "{:?} ({})" ,
116+ node_info. node_type,
117+ u8 :: from( node_info. node_type)
118+ )
119+ . as_str ( ) ,
116120 ) ?;
117121 f. member (
118122 "protocol" ,
119- format ! ( "{:?} ({})" , node_info. protocol, u8 :: from( node_info. protocol) )
120- . as_str ( ) ,
123+ format ! (
124+ "{:?} ({})" ,
125+ node_info. protocol,
126+ u8 :: from( node_info. protocol)
127+ )
128+ . as_str ( ) ,
121129 ) ?;
122130 f. member ( "highest_version" , node_info. highest_version ) ?;
123131 f. member ( "lowest_version" , node_info. lowest_version ) ?;
You can’t perform that action at this time.
0 commit comments