Fix indentation on trait `free` documentation
[ldk-c-bindings] / c-bindings-gen / src / main.rs
index 9665fdc3008cc015e1c487065e03e16a93118a37..3a7bfd6c584d0d4f131ce7ea17ec2dc92487a474 100644 (file)
@@ -382,8 +382,8 @@ fn writeln_trait<'a, 'b, W: std::io::Write>(w: &mut W, t: &'a syn::ItemTrait, ty
                        });
                }
        ) );
-       writeln!(w, "/// Frees any resources associated with this object given its this_arg pointer.").unwrap();
-       writeln!(w, "/// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed.").unwrap();
+       writeln!(w, "\t/// Frees any resources associated with this object given its this_arg pointer.").unwrap();
+       writeln!(w, "\t/// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed.").unwrap();
        writeln!(w, "\tpub free: Option<extern \"C\" fn(this_arg: *mut c_void)>,").unwrap();
        generated_fields.push("free".to_owned());
        writeln!(w, "}}").unwrap();