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) {