mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 06:30:19 +00:00
Clarify that Stopwatch.reset does not affect paused state (#6016)
# Objective Makes `Stopwatch::reset` documentation more clear ## Solution Added a doc comment
This commit is contained in:
parent
53157c0801
commit
1f0fa5908a
2 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ impl Stopwatch {
|
|||
self.paused
|
||||
}
|
||||
|
||||
/// Resets the stopwatch.
|
||||
/// Resets the stopwatch. The reset doesn’t affect the paused state of the stopwatch.
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
|
|
|
@ -292,7 +292,7 @@ impl Timer {
|
|||
self.stopwatch.paused()
|
||||
}
|
||||
|
||||
/// Resets the timer. the reset doesn't affect the `paused` state of the timer.
|
||||
/// Resets the timer. The reset doesn't affect the `paused` state of the timer.
|
||||
///
|
||||
/// See also [`Stopwatch::reset`](Stopwatch::reset).
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue