Merge pull request #726 from danbev/time_driver_typo

Fix typo in driver.rs
This commit is contained in:
Dario Nieuwenhuis 2022-04-21 18:29:28 +02:00 committed by GitHub
commit f63813367b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ pub trait Driver: Send + Sync + 'static {
fn set_alarm_callback(&self, alarm: AlarmHandle, callback: fn(*mut ()), ctx: *mut ());
/// Sets an alarm at the given timestamp. When the current timestamp reaches the alarm
/// timestamp, the provided callback funcion will be called.
/// timestamp, the provided callback function will be called.
///
/// If `timestamp` is already in the past, the alarm callback must be immediately fired.
/// In this case, it is allowed (but not mandatory) to call the alarm callback synchronously from `set_alarm`.