Skip to content

Commit 7ee750d

Browse files
committed
refactor: Remove useless #[serde(default = "...")]
1 parent c9b5c20 commit 7ee750d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/models.rs

-2
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,7 @@ macro_rules! impl_device_config {
314314
pub struct Dummy {
315315
#[validate(range(min = 1))]
316316
pub hardware_led_count: u32,
317-
#[serde(default = "Default::default")]
318317
pub rewrite_time: u32,
319-
#[serde(default = "Default::default")]
320318
pub latch_time: u32,
321319
}
322320

0 commit comments

Comments
 (0)