Skip to content

Commit e7710c7

Browse files
committed
update comment
1 parent 0113322 commit e7710c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/event.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ impl Event {
7474
}
7575

7676
/// Set the event timestamp, for events that happened in the past.
77+
///
78+
/// Errors if the timestamp is in the future.
7779
pub fn set_timestamp<Tz>(&mut self, timestamp: DateTime<Tz>) -> Result<(), Error>
7880
where
7981
Tz: TimeZone,

0 commit comments

Comments
 (0)