mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-02-08 14:42:14 -05:00
doc: Fix docs for ffi::Timeline::latest_event_id
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
5f996f77c6
commit
385f7aa86d
@@ -365,7 +365,7 @@ impl Timeline {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Returns the [`EventId`] of the latest event in the timeline.
|
||||
/// Returns the latest [`EventId`] in the timeline.
|
||||
pub async fn latest_event_id(&self) -> Option<String> {
|
||||
self.inner.latest_event_id().await.as_deref().map(ToString::to_string)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user