From d5758fe1bcc220aad260f79577eb351edde3011a Mon Sep 17 00:00:00 2001 From: Almaju Date: Tue, 19 Dec 2023 23:27:32 +0100 Subject: [PATCH] Refactor Justfile and TodoList struct --- Justfile | 1 + domain/src/todolist.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Justfile b/Justfile index dae1a68..78fdb13 100644 --- a/Justfile +++ b/Justfile @@ -9,3 +9,4 @@ deps: lint: cargo clippy + python3 sort_derive.py diff --git a/domain/src/todolist.rs b/domain/src/todolist.rs index a8911df..49266a6 100644 --- a/domain/src/todolist.rs +++ b/domain/src/todolist.rs @@ -1,4 +1,4 @@ -#[derive(Debug, Default)] +#[derive(Default, Debug)] pub struct TodoList { pub tasks: Vec, }