Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jannik4 committed Mar 4, 2024
1 parent cbfd17c commit 4f98ad0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ pub trait EffectSimulationTime {
/// Returns the speed the clock advanced relative to your system clock in this update,
/// as [`f32`].
///
/// Returns `0.0` if the either [`Time<Virtual>`](Virtual) or
/// Returns `0.0` if either the [`Time<Virtual>`](Virtual) or the
/// [`Time<EffectSimulationTime>`](EffectSimulationTime) was paused
/// and otherwise the product of the `relative_speed` of the clocks at the start of the update.
fn effective_speed(&self) -> f32;

/// Returns the speed the clock advanced relative to your system clock in this update,
/// as [`f64`].
///
/// Returns `0.0` if the either [`Time<Virtual>`](Virtual) or
/// Returns `0.0` if either the [`Time<Virtual>`](Virtual) or the
/// [`Time<EffectSimulationTime>`](EffectSimulationTime) was paused
/// and otherwise the product of the `relative_speed` of the clocks at the start of the update.
fn effective_speed_f64(&self) -> f64;
Expand Down

0 comments on commit 4f98ad0

Please sign in to comment.