Jonathan Kelley 1 年間 前
コミット
30f6986283
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/autofmt/src/lib.rs

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

@@ -135,7 +135,7 @@ pub fn fmt_file(contents: &str, indent: IndentOptions) -> Vec<FormattedBlock> {
 pub fn write_block_out(body: &CallBody) -> Option<String> {
     let mut buf = Writer::new("");
 
-    write_body(&mut buf, &body);
+    write_body(&mut buf, body);
 
     buf.consume()
 }