doc: Fix docs for ffi::Timeline::latest_event_id

This commit is contained in:
Jorge Martín
2025-11-14 11:51:53 +01:00
committed by Jorge Martin Espinosa
parent 5f996f77c6
commit 385f7aa86d

View File

@@ -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)
}