summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clab.md6
-rw-r--r--src/main.rs2
2 files changed, 5 insertions, 3 deletions
diff --git a/clab.md b/clab.md
index f5b09fb..b437cbc 100644
--- a/clab.md
+++ b/clab.md
@@ -65,11 +65,13 @@ then stdout is exactly "clab found matches:\nalice@example.com\tAlice Atherthon\
~~~{#address-book.yaml .file .yaml}
- name: Alice Atherthon
- email:
+ email:
work: alice@example.com
+ last_checked: 2021-09
- name: Bob Bobbington
- email:
+ email:
personal: bob@example.com
+ last_checked: 2021-09
~~~
diff --git a/src/main.rs b/src/main.rs
index 93c3158..d25fdaa 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -42,7 +42,7 @@ struct Entry {
phone: Option<HashMap<String, String>>,
irc: Option<HashMap<String, String>>,
address: Option<HashMap<String, String>>,
- last_checked: Option<String>,
+ last_checked: String,
}
impl Entry {