diff options
-rw-r--r-- | src/codegen/impl_debug.rs (renamed from src/codegen/derive_debug.rs) | 0 | ||||
-rw-r--r-- | src/codegen/mod.rs | 4 | ||||
-rw-r--r-- | src/lib.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/codegen/derive_debug.rs b/src/codegen/impl_debug.rs index 7ef108da..7ef108da 100644 --- a/src/codegen/derive_debug.rs +++ b/src/codegen/impl_debug.rs diff --git a/src/codegen/mod.rs b/src/codegen/mod.rs index 49187125..bd6656d7 100644 --- a/src/codegen/mod.rs +++ b/src/codegen/mod.rs @@ -1,4 +1,4 @@ -mod derive_debug; +mod impl_debug; mod error; mod helpers; pub mod struct_layout; @@ -1910,7 +1910,7 @@ impl CodeGenerator for CompInfo { } if needs_debug_impl { - let impl_ = derive_debug::gen_debug_impl( + let impl_ = impl_debug::gen_debug_impl( ctx, self.fields(), item, @@ -247,7 +247,7 @@ impl Builder { output_vector.push("--no-derive-debug".into()); } - if !self.options.impl_debug { + if self.options.impl_debug { output_vector.push("--impl-debug".into()); } |