@@ -89,7 +89,7 @@ impl ComputeActor {
8989 while let Some ( msg) = self . recv . recv ( ) . await {
9090 n0_future:: task:: spawn ( async move {
9191 if let Err ( cause) = Self :: handle ( msg) . await {
92- eprintln ! ( "Error: {}" , cause ) ;
92+ eprintln ! ( "Error: {cause}" ) ;
9393 }
9494 } ) ;
9595 }
@@ -271,7 +271,7 @@ async fn local() -> anyhow::Result<()> {
271271 let mut rx = api. fibonacci ( 10 ) . await ?;
272272 print ! ( "Local: Fibonacci up to 10 = " ) ;
273273 while let Some ( num) = rx. recv ( ) . await ? {
274- print ! ( "{} " , num ) ;
274+ print ! ( "{num } " ) ;
275275 }
276276 println ! ( ) ;
277277
@@ -283,7 +283,7 @@ async fn local() -> anyhow::Result<()> {
283283 drop ( in_tx) ;
284284 print ! ( "Local: 3 * [2, 4, 6] = " ) ;
285285 while let Some ( num) = out_rx. recv ( ) . await ? {
286- print ! ( "{} " , num ) ;
286+ print ! ( "{num } " ) ;
287287 }
288288 println ! ( ) ;
289289
@@ -322,7 +322,7 @@ async fn remote() -> anyhow::Result<()> {
322322 let mut rx = api. fibonacci ( 20 ) . await ?;
323323 print ! ( "Remote: Fibonacci up to 20 = " ) ;
324324 while let Some ( num) = rx. recv ( ) . await ? {
325- print ! ( "{} " , num ) ;
325+ print ! ( "{num } " ) ;
326326 }
327327 println ! ( ) ;
328328
@@ -334,7 +334,7 @@ async fn remote() -> anyhow::Result<()> {
334334 drop ( in_tx) ;
335335 print ! ( "Remote: 5 * [1, 2, 3] = " ) ;
336336 while let Some ( num) = out_rx. recv ( ) . await ? {
337- print ! ( "{} " , num ) ;
337+ print ! ( "{num } " ) ;
338338 }
339339 println ! ( ) ;
340340
0 commit comments