@@ -233,7 +233,7 @@ async fn main() -> Result<(), anyhow::Error> {
233233 )
234234 . rpcmethod (
235235 "summars-refreshalias" ,
236- "Show summary of channels and optionally recent forwards " ,
236+ "Refresh the alias cache manually " ,
237237 summars_refreshalias,
238238 )
239239 . dynamic ( )
@@ -243,7 +243,7 @@ async fn main() -> Result<(), anyhow::Error> {
243243 Some ( plugin) => {
244244 match get_startup_options ( & plugin, state. clone ( ) ) {
245245 Ok ( ( ) ) => & ( ) ,
246- Err ( e) => return plugin. disable ( format ! ( "{}" , e ) . as_str ( ) ) . await ,
246+ Err ( e) => return plugin. disable ( format ! ( "{e}" ) . as_str ( ) ) . await ,
247247 } ;
248248 info ! ( "read startup options done" ) ;
249249
@@ -257,7 +257,7 @@ async fn main() -> Result<(), anyhow::Error> {
257257 tokio:: spawn ( async move {
258258 match tasks:: trace_availability ( traceclone) . await {
259259 Ok ( ( ) ) => ( ) ,
260- Err ( e) => warn ! ( "Error in trace_availability thread: {}" , e ) ,
260+ Err ( e) => warn ! ( "Error in trace_availability thread: {e}" ) ,
261261 } ;
262262 } ) ;
263263
@@ -268,7 +268,7 @@ async fn main() -> Result<(), anyhow::Error> {
268268 loop {
269269 match tasks:: refresh_alias ( aliasclone. clone ( ) ) . await {
270270 Ok ( ( ) ) => ( ) ,
271- Err ( e) => warn ! ( "Error in refresh_alias thread: {}" , e ) ,
271+ Err ( e) => warn ! ( "Error in refresh_alias thread: {e}" ) ,
272272 } ;
273273 time:: sleep ( Duration :: from_secs ( alias_refresh_freq * 60 * 60 ) ) . await ;
274274 }
0 commit comments