Skip to content

Commit b1be2b8

Browse files
committed
[src/code.rs] Comment out impl Default for Update
1 parent 763c527 commit b1be2b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/code.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ impl<'a> Struct<'a> {
228228
derives_vec.push(derives::PARTIALEQ);
229229
}
230230

231-
if !self.config.options.default_impl {
231+
/*if !self.config.options.default_impl*/ {
232232
derives_vec.push(derives::DEFAULT);
233233
}
234234
}
@@ -870,7 +870,7 @@ pub fn generate_for_table(table: &ParsedTableMacro, config: &GenerationConfig) -
870870
if update_struct.has_code() {
871871
ret_buffer.push('\n');
872872
ret_buffer.push_str(update_struct.code());
873-
if config.options.default_impl {
873+
/*if config.options.default_impl {
874874
ret_buffer.push('\n');
875875
ret_buffer.push_str(
876876
build_default_impl_fn(
@@ -888,7 +888,7 @@ pub fn generate_for_table(table: &ParsedTableMacro, config: &GenerationConfig) -
888888
)
889889
.as_str(),
890890
);
891-
}
891+
}*/
892892
}
893893

894894
// third, push functions - if enabled

0 commit comments

Comments
 (0)