From: Matt Corallo Date: Wed, 10 Mar 2021 03:45:25 +0000 (-0500) Subject: Fix indentation on trait `free` documentation X-Git-Tag: v0.0.98~23^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=d4b750f56a7b110dc9ec241c19dfe2fd5e90fdaf;p=ldk-c-bindings Fix indentation on trait `free` documentation --- 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();