Jonathan Kelley hai 1 ano
pai
achega
30f6986283
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()
 }