Jonathan Kelley 1 год назад
Родитель
Сommit
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()
 }