mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-07 16:33:08 +00:00
Use .unwrap()
This commit is contained in:
parent
ff5079ba73
commit
7aa593f3de
@ -37,6 +37,6 @@ impl Chat2Message {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn timestamp(&self) -> DateTime<Utc> {
|
pub fn timestamp(&self) -> DateTime<Utc> {
|
||||||
Utc.timestamp_opt(self.timestamp as i64, 0)
|
Utc.timestamp_opt(self.timestamp as i64, 0).unwrap()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user