Jonathan Kelley %!s(int64=2) %!d(string=hai) anos
pai
achega
bf559a6d06
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/autofmt/src/writer.rs

+ 1 - 1
packages/autofmt/src/writer.rs

@@ -183,7 +183,7 @@ impl Writer {
         write!(
             self.out,
             "for {} in {} {{",
-            forloop.pat.clone().into_token_stream().to_string(),
+            forloop.pat.clone().into_token_stream(),
             prettyplease::unparse_expr(&forloop.expr)
         )?;