diff options
Diffstat (limited to 'src/posts.rs')
-rw-r--r-- | src/posts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posts.rs b/src/posts.rs index 415f743..a8e9f90 100644 --- a/src/posts.rs +++ b/src/posts.rs @@ -13,7 +13,7 @@ pub trait Post { fn id(&self) -> &str; fn subject(&self) -> Option<&str>; fn published_at(&self) -> &DateTime<Utc>; - fn updated_at(&self) -> &DateTime<Utc>; + fn updated_at(&self) -> Option<&DateTime<Utc>>; fn tags(&self) -> &Vec<String>; fn lang(&self) -> &str; fn post_type(&self) -> PostType; |