X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-c-bindings;a=blobdiff_plain;f=c-bindings-gen%2Fsrc%2Fmain.rs;h=3a7bfd6c584d0d4f131ce7ea17ec2dc92487a474;hp=9665fdc3008cc015e1c487065e03e16a93118a37;hb=d4b750f56a7b110dc9ec241c19dfe2fd5e90fdaf;hpb=04fcb2d0d013cfb63ed656de156f0659f1b1411e diff --git a/c-bindings-gen/src/main.rs b/c-bindings-gen/src/main.rs index 9665fdc..3a7bfd6 100644 --- a/c-bindings-gen/src/main.rs +++ b/c-bindings-gen/src/main.rs @@ -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,").unwrap(); generated_fields.push("free".to_owned()); writeln!(w, "}}").unwrap();