@@ -2,8 +2,7 @@ mod metadata {
22 use super :: id_generation:: TicketId ;
33 use super :: recap:: Status ;
44 /// `chrono` is the go-to crate in the Rust ecosystem when working with time.
5- /// `DateTime` deals with timezone-aware datetimes - it takes the timezone
6- /// as a type parameter.
5+ /// `DateTime` deals with timezone-aware datetimes - it takes the timezone as a type parameter.
76 /// `DateTime<Utc>` is the type for datetimes expressed in the coordinated universal time.
87 /// See:
98 /// - https://en.wikipedia.org/wiki/Coordinated_Universal_Time
@@ -20,8 +19,8 @@ mod metadata {
2019 /// - the generated id;
2120 /// - the datetime of its creation.
2221 ///
23- /// Make the necessary changes without touching the types of the inputs
24- /// and the returned objects in our methods!
22+ /// Make the necessary changes without touching the types of the inputs and the returned
23+ /// objects in our methods!
2524 /// You can make inputs mutable, if needed.
2625 impl TicketStore {
2726 pub fn new ( ) -> TicketStore {
@@ -69,12 +68,12 @@ mod metadata {
6968
7069 // The datetime when the ticket was saved in the store, if it was saved.
7170 pub fn created_at ( & self ) -> __ {
72- __
71+ todo ! ( )
7372 }
7473
7574 // The id associated with the ticket when it was saved in the store, if it was saved.
7675 pub fn id ( & self ) -> __ {
77- __
76+ todo ! ( )
7877 }
7978 }
8079
0 commit comments