From f231fee50874a406f0790ecc885699daae80aa64 Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 2 May 2022 11:37:09 +0200 Subject: [PATCH] Document Done fields --- src/files/commands.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/files/commands.rs b/src/files/commands.rs index a53aa50..483fd7a 100644 --- a/src/files/commands.rs +++ b/src/files/commands.rs @@ -346,7 +346,9 @@ pub enum DoneKind { #[derive(Debug)] pub struct Done { pub kind: DoneKind, + /// The date of the task the DONE refers to. pub date: Option, + /// When the task was actually completed. pub done_at: NaiveDate, }