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()
 }