From d4b750f56a7b110dc9ec241c19dfe2fd5e90fdaf Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 9 Mar 2021 22:45:25 -0500 Subject: [PATCH] Fix indentation on trait `free` documentation --- c-bindings-gen/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5