From aa8969cee07f79cf5414d17c7a99cb341170c573 Mon Sep 17 00:00:00 2001 From: SpecificProtagonist Date: Thu, 13 Jul 2023 23:06:30 +0200 Subject: [PATCH] fix typo in doc comment --- crates/bevy_time/src/fixed_timestep.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_time/src/fixed_timestep.rs b/crates/bevy_time/src/fixed_timestep.rs index 66be2f41ef2ff..6a253e6f8174c 100644 --- a/crates/bevy_time/src/fixed_timestep.rs +++ b/crates/bevy_time/src/fixed_timestep.rs @@ -65,7 +65,7 @@ impl FixedTime { /// Expends one `period` of accumulated time. /// - /// [`Err(FixedUpdateError`)] will be returned if there is + /// [`Err(FixedUpdateError)`] will be returned if there is /// not enough accumulated time to span an entire period. pub fn expend(&mut self) -> Result<(), FixedUpdateError> { if let Some(new_value) = self.accumulated.checked_sub(self.period) {