Skip to content

Commit

Permalink
Make Time::time_since_startup inline like the rest of the time methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Helfet committed Dec 6, 2021
1 parent 9de47f5 commit e01d86e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_core/src/time/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ impl Time {
}

/// The ['Duration'] from startup to the last update
#[inline]
pub fn time_since_startup(&self) -> Duration {
self.time_since_startup
}
Expand Down

0 comments on commit e01d86e

Please sign in to comment.