diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2024-05-05 16:41:38 +0630 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-05 12:11:38 +0200 |
| commit | 7375a691e232bb59033980dc09c7179bc16e377f (patch) | |
| tree | 1713a55a9c8a4199292c4668c950404ba1e033c1 /src/counters | |
| parent | 1b05b2ebfac63034d3dd14a7a5b9b87c59377529 (diff) | |
| download | rapier-7375a691e232bb59033980dc09c7179bc16e377f.tar.gz rapier-7375a691e232bb59033980dc09c7179bc16e377f.tar.bz2 rapier-7375a691e232bb59033980dc09c7179bc16e377f.zip | |
Fix some typos. (#620)
Diffstat (limited to 'src/counters')
| -rw-r--r-- | src/counters/mod.rs | 6 | ||||
| -rw-r--r-- | src/counters/stages_counters.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/counters/mod.rs b/src/counters/mod.rs index e707025..99a627a 100644 --- a/src/counters/mod.rs +++ b/src/counters/mod.rs @@ -17,7 +17,7 @@ mod timer; /// Aggregation of all the performances counters tracked by rapier. #[derive(Clone, Copy)] pub struct Counters { - /// Whether thi counter is enabled or not. + /// Whether this counter is enabled or not. pub enabled: bool, /// Timer for a whole timestep. pub step_time: Timer, @@ -69,7 +69,7 @@ impl Counters { } } - /// Notfy that the time-step has finished. + /// Notify that the time-step has finished. pub fn step_completed(&mut self) { if self.enabled { self.step_time.pause(); @@ -88,7 +88,7 @@ impl Counters { } } - /// Notfy that the custom operation has finished. + /// Notify that the custom operation has finished. pub fn custom_completed(&mut self) { if self.enabled { self.custom.pause(); diff --git a/src/counters/stages_counters.rs b/src/counters/stages_counters.rs index 7e3198a..3134986 100644 --- a/src/counters/stages_counters.rs +++ b/src/counters/stages_counters.rs @@ -21,7 +21,7 @@ pub struct StagesCounters { } impl StagesCounters { - /// Create a new counter intialized to zero. + /// Create a new counter initialized to zero. pub fn new() -> Self { StagesCounters { update_time: Timer::new(), |
