diff --git a/crates/bevy_math/src/curve/easing.rs b/crates/bevy_math/src/curve/easing.rs index 3433534bc2d603..706fef6f533111 100644 --- a/crates/bevy_math/src/curve/easing.rs +++ b/crates/bevy_math/src/curve/easing.rs @@ -154,7 +154,7 @@ impl CubicBezierCurve { /// between there are `n - 1` segments of length `1 / n` /// /// [unit domain]: `Interval::UNIT` -/// [`constant_curve(Interval::UNIT, 0.0)`]: `constant_curve` +/// [`constant_curve(Interval::UNIT, 0.0)`]: `crate::curve::constant_curve` #[derive(Clone, Debug)] #[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "bevy_reflect", derive(bevy_reflect::Reflect))]